home *** CD-ROM | disk | FTP | other *** search
/ Apple Media Toolkit 1993 Summer / Apple Media Kit -Summer 1993.iso / Apple Media ToolKit next >
MacBinary  |  1993-06-18  |  1.3 MB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Apple Media ToolKit

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Nov 20 15:44:21 1992, modified Fri Jun 18 16:45:29 1993, creator HyperCard, type HyperCard stack, 232192 bytes "Apple Media ToolKit" , at 0x38b80 1183031 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 41 70 70 6c 65 20 | 4d 65 64 69 61 20 54 6f |..Apple |Media To|
|00000010| 6f 6c 4b 69 74 00 00 00 | 00 00 00 00 00 00 00 00 |olKit...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 03 8b 00 00 | 12 0d 37 a7 32 fe a5 a8 |........|..7.2...|
|00000060| 47 d9 e9 00 00 0a 00 00 | 00 00 00 00 00 00 00 00 |G.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 42 1f 00 00 |........|....B...|
|00000080| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........|
|00000090| 00 00 00 0a 00 03 8b 00 | 00 00 72 00 00 00 00 00 |........|..r.....|
|000000a0| 00 00 00 00 00 00 00 07 | 00 00 0a 9c 00 00 00 29 |........|.......)|
|000000b0| 00 00 10 91 00 00 3e 1c | 00 00 00 00 00 00 00 00 |......>.|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 90 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 5d 64 73 7d 00 00 00 00 | 00 00 00 00 01 e0 02 80 |]ds}....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 9d 00 00 0c d3 | 01 e0 02 80 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 61 72 72 6f 77 | 4b 65 79 0d 69 66 20 74 |on arrow|Key.if t|
|00000690| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|000006a0| 64 6f 77 6e 20 74 68 65 | 6e 20 70 61 73 73 20 61 |down the|n pass a|
|000006b0| 72 72 6f 77 4b 65 79 0d | 65 6e 64 20 61 72 72 6f |rrowKey.|end arro|
|000006c0| 77 4b 65 79 0d 0d b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |wKey....|........|
|000006d0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 0d 6f 6e |........|......on|
|000006f0| 20 69 64 6c 65 0d 0d 70 | 75 74 20 77 6f 72 64 20 | idle..p|ut word |
|00000700| 74 77 6f 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |two of m|enuitem |
|00000710| 31 20 6f 66 20 6d 65 6e | 75 20 22 41 70 70 6c 69 |1 of men|u "Appli|
|00000720| 63 61 74 69 6f 6e 22 20 | 69 6e 74 6f 20 70 72 6f |cation" |into pro|
|00000730| 67 4e 61 6d 65 0d 69 66 | 20 22 48 79 70 65 72 43 |gName.if| "HyperC|
|00000740| 61 72 64 22 20 69 73 20 | 69 6e 20 70 72 6f 67 4e |ard" is |in progN|
|00000750| 61 6d 65 20 74 68 65 6e | 0d 69 66 20 69 74 65 6d |ame then|.if item|
|00000760| 20 33 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e | 3 of th|e screen|
|00000770| 72 65 63 74 20 3d 20 22 | 36 34 30 22 20 c2 0d 61 |rect = "|640" ..a|
|00000780| 6e 64 20 69 74 65 6d 20 | 34 20 6f 66 20 74 68 65 |nd item |4 of the|
|00000790| 20 73 63 72 65 65 6e 72 | 65 63 74 20 3d 20 22 34 | screenr|ect = "4|
|000007a0| 38 30 22 20 74 68 65 6e | 0d 68 69 64 65 20 6d 65 |80" then|.hide me|
|000007b0| 6e 75 62 61 72 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nubar.en|d if.end|
|000007c0| 20 69 66 0d 0d 65 6e 64 | 20 69 64 6c 65 0d 0d 0d | if..end| idle...|
|000007d0| 0d 6f 6e 20 6f 70 65 6e | 73 74 61 63 6b 0d 0d 0d |.on open|stack...|
|000007e0| 2d 2d 20 20 20 20 20 20 | 20 20 20 45 4e 56 49 52 |-- | ENVIR|
|000007f0| 4f 4e 4d 45 4e 54 0d 47 | 6c 6f 62 61 6c 20 67 5f |ONMENT.G|lobal g_|
|00000800| 48 45 4c 50 53 74 61 63 | 6b 50 61 74 68 0d 47 6c |HELPStac|kPath.Gl|
|00000810| 6f 62 61 6c 20 67 5f 52 | 65 74 75 72 6e 46 72 6f |obal g_R|eturnFro|
|00000820| 6d 48 65 6c 70 0d 47 6c | 6f 62 61 6c 20 67 5f 53 |mHelp.Gl|obal g_S|
|00000830| 79 73 5f 41 62 6f 72 74 | 5f 46 6c 61 67 20 2d 2d |ys_Abort|_Flag --|
|00000840| 20 65 69 74 68 65 72 20 | 45 4d 50 54 59 2c 20 22 | either |EMPTY, "|
|00000850| 57 41 52 4e 49 4e 47 22 | 2c 20 6f 72 20 54 52 55 |WARNING"|, or TRU|
|00000860| 45 0d 0d 69 66 20 67 5f | 53 79 73 5f 41 62 6f 72 |E..if g_|Sys_Abor|
|00000870| 74 5f 46 6c 61 67 20 3d | 20 45 4d 50 54 59 20 41 |t_Flag =| EMPTY A|
|00000880| 4e 44 20 67 5f 52 65 74 | 75 72 6e 46 72 6f 6d 48 |ND g_Ret|urnFromH|
|00000890| 65 6c 70 20 69 73 20 45 | 4d 50 54 59 20 74 68 65 |elp is E|MPTY the|
|000008a0| 6e 0d 69 66 20 68 47 65 | 74 53 79 73 74 65 6d 49 |n.if hGe|tSystemI|
|000008b0| 6e 66 6f 20 28 29 20 ad | 20 54 52 55 45 20 74 68 |nfo () .| TRUE th|
|000008c0| 65 6e 20 68 53 74 61 72 | 74 75 70 45 72 72 6f 72 |en hStar|tupError|
|000008d0| 20 2d 2d 20 64 6f 20 6f | 6e 63 65 20 6f 6e 6c 79 | -- do o|nce only|
|000008e0| 0d 65 6e 64 20 69 66 0d | 2d 2d 20 4e 4f 54 45 3a |.end if.|-- NOTE:|
|000008f0| 20 61 6c 77 61 79 73 20 | 3d 20 45 4d 50 54 59 20 | always |= EMPTY |
|00000900| 77 68 65 6e 20 66 61 6c | 6c 73 0d 0d 47 6c 6f 62 |when fal|ls..Glob|
|00000910| 61 6c 20 67 5f 46 6c 64 | 73 50 65 72 52 65 63 0d |al g_Fld|sPerRec.|
|00000920| 47 6c 6f 62 61 6c 20 67 | 5f 41 4d 54 4b 53 74 61 |Global g|_AMTKSta|
|00000930| 63 6b 50 61 74 68 2c 20 | 67 5f 41 4d 54 4b 53 74 |ckPath, |g_AMTKSt|
|00000940| 61 63 6b 4e 61 6d 65 0d | 47 6c 6f 62 61 6c 20 67 |ackName.|Global g|
|00000950| 5f 53 59 53 46 6f 6c 64 | 65 72 2c 20 67 5f 53 59 |_SYSFold|er, g_SY|
|00000960| 53 56 6f 6c 75 6d 65 0d | 47 6c 6f 62 61 6c 20 67 |SVolume.|Global g|
|00000970| 5f 50 41 43 6f 6c 6f 72 | 42 57 2c 20 67 5f 50 41 |_PAColor|BW, g_PA|
|00000980| 43 6f 6c 6f 72 47 72 61 | 79 2c 20 67 5f 50 41 43 |ColorGra|y, g_PAC|
|00000990| 6f 6c 6f 72 43 6f 6c 6f | 72 20 2d 2d 20 73 75 62 |olorColo|r -- sub|
|000009a0| 2d 66 6f 6c 64 65 72 73 | 20 77 2f 69 6e 20 6d 61 |-folders| w/in ma|
|000009b0| 69 6e 20 50 41 20 66 6f | 6c 64 65 72 0d 0d 47 6c |in PA fo|lder..Gl|
|000009c0| 6f 62 61 6c 20 67 5f 49 | 6e 74 65 72 6e 61 6c 46 |obal g_I|nternalF|
|000009d0| 6f 6c 64 65 72 0d 47 6c | 6f 62 61 6c 20 67 5f 50 |older.Gl|obal g_P|
|000009e0| 72 69 6e 74 46 6f 6c 64 | 65 72 2c 20 67 5f 50 72 |rintFold|er, g_Pr|
|000009f0| 6f 64 75 63 74 46 6f 6c | 64 65 72 2c 20 67 5f 50 |oductFol|der, g_P|
|00000a00| 72 6f 64 75 63 74 53 75 | 62 46 6f 6c 64 65 72 0d |roductSu|bFolder.|
|00000a10| 47 6c 6f 62 61 6c 20 67 | 5f 47 65 74 49 6e 66 6f |Global g|_GetInfo|
|00000a20| 46 6f 6c 64 65 72 2c 20 | 67 5f 42 6f 64 79 43 6f |Folder, |g_BodyCo|
|00000a30| 70 79 46 6f 6c 64 65 72 | 2c 20 67 5f 50 72 65 76 |pyFolder|, g_Prev|
|00000a40| 69 65 77 50 49 43 54 46 | 6f 6c 64 65 72 0d 0d 47 |iewPICTF|older..G|
|00000a50| 6c 6f 62 61 6c 20 67 5f | 51 54 52 61 64 69 6f 46 |lobal g_|QTRadioF|
|00000a60| 6f 6c 64 65 72 0d 0d 47 | 6c 6f 62 61 6c 20 67 5f |older..G|lobal g_|
|00000a70| 44 53 70 61 74 68 54 6f | 44 53 50 49 43 54 2c 20 |DSpathTo|DSPICT, |
|00000a80| 67 5f 44 53 70 61 74 68 | 54 6f 44 43 50 49 43 54 |g_DSpath|ToDCPICT|
|00000a90| 0d 47 6c 6f 62 61 6c 20 | 67 5f 44 53 70 61 74 68 |.Global |g_DSpath|
|00000aa0| 54 6f 44 53 46 69 6c 65 | 73 2c 20 67 5f 44 53 70 |ToDSFile|s, g_DSp|
|00000ab0| 61 74 68 54 6f 44 43 46 | 69 6c 65 73 0d 0d 47 6c |athToDCF|iles..Gl|
|00000ac0| 6f 62 61 6c 20 67 5f 50 | 68 6f 74 6f 46 6f 6c 64 |obal g_P|hotoFold|
|00000ad0| 65 72 2c 20 67 5f 50 68 | 6f 74 6f 53 75 62 46 6f |er, g_Ph|otoSubFo|
|00000ae0| 6c 64 65 72 43 6f 6c 6f | 72 2c 20 67 5f 50 68 6f |lderColo|r, g_Pho|
|00000af0| 74 6f 53 75 62 46 6f 6c | 64 65 72 42 57 0d 0d 0d |toSubFol|derBW...|
|00000b00| 0d 0d 2d 2d 20 20 20 20 | 20 20 20 20 47 45 4e 45 |..-- | GENE|
|00000b10| 52 41 4c 0d 68 69 64 65 | 20 74 69 74 6c 65 62 61 |RAL.hide| titleba|
|00000b20| 72 0d 68 69 64 65 20 74 | 6f 6f 6c 20 77 69 6e 64 |r.hide t|ool wind|
|00000b30| 6f 77 0d 68 69 64 65 20 | 70 61 74 74 65 72 6e 20 |ow.hide |pattern |
|00000b40| 77 69 6e 64 6f 77 0d 68 | 69 64 65 20 73 63 72 6f |window.h|ide scro|
|00000b50| 6c 6c 20 77 69 6e 64 6f | 77 0d 68 69 64 65 20 6d |ll windo|w.hide m|
|00000b60| 73 67 0d 73 65 74 20 74 | 68 65 20 75 73 65 72 6c |sg.set t|he userl|
|00000b70| 65 76 65 6c 20 74 6f 20 | 35 0d 73 65 74 20 73 63 |evel to |5.set sc|
|00000b80| 72 69 70 74 74 65 78 74 | 66 6f 6e 74 20 74 6f 20 |ripttext|font to |
|00000b90| 47 65 6e 65 76 61 0d 73 | 65 74 20 73 63 72 69 70 |Geneva.s|et scrip|
|00000ba0| 74 74 65 78 74 73 69 7a | 65 20 74 6f 20 31 32 0d |ttextsiz|e to 12.|
|00000bb0| 69 66 20 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |if item |3 of the|
|00000bc0| 20 73 63 72 65 65 6e 72 | 65 63 74 20 3d 20 22 36 | screenr|ect = "6|
|00000bd0| 34 30 22 20 c2 0d 61 6e | 64 20 69 74 65 6d 20 34 |40" ..an|d item 4|
|00000be0| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 72 65 | of the |screenre|
|00000bf0| 63 74 20 3d 20 22 34 38 | 30 22 20 74 68 65 6e 0d |ct = "48|0" then.|
|00000c00| 68 69 64 65 20 6d 65 6e | 75 62 61 72 0d 65 6e 64 |hide men|ubar.end|
|00000c10| 20 69 66 0d 0d 2d 2d 20 | 20 20 20 20 20 20 20 52 | if..-- | R|
|00000c20| 65 74 75 72 6e 69 6e 67 | 20 66 72 6f 6d 20 48 65 |eturning| from He|
|00000c30| 6c 70 20 53 74 61 63 6b | 3f 3f 0d 2d 2d 20 41 6c |lp Stack|??.-- Al|
|00000c40| 77 61 79 73 20 64 6f 20 | 66 75 6c 6c 20 73 65 74 |ways do |full set|
|00000c50| 75 70 20 69 6e 20 63 61 | 73 65 20 48 65 6c 70 20 |up in ca|se Help |
|00000c60| 73 74 61 63 6b 20 69 73 | 20 72 75 6e 20 31 73 74 |stack is| run 1st|
|00000c70| 0d 0d 2d 2d 20 20 49 4e | 54 52 4f 0d 49 46 20 67 |..-- IN|TRO.IF g|
|00000c80| 5f 52 65 74 75 72 6e 46 | 72 6f 6d 48 65 6c 70 20 |_ReturnF|romHelp |
|00000c90| 69 73 20 45 4d 50 54 59 | 20 74 68 65 6e 0d 6c 6f |is EMPTY| then.lo|
|00000ca0| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 74 20 22 43 |ck scree|n.put "C|
|00000cb0| 6f 70 79 22 20 69 6e 74 | 6f 20 63 75 72 4d 6f 64 |opy" int|o curMod|
|00000cc0| 65 0d 63 6f 6c 6f 72 69 | 7a 65 48 43 20 22 6e 65 |e.colori|zeHC "ne|
|00000cd0| 77 22 2c 22 41 4d 54 4b | 20 49 6e 74 72 6f 22 2c |w","AMTK| Intro",|
|00000ce0| 20 22 30 2c 30 22 2c 2c | 63 75 72 4d 6f 64 65 0d | "0,0",,|curMode.|
|00000cf0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |put the |result i|
|00000d00| 6e 74 6f 20 74 6d 70 0d | 69 66 20 74 6d 70 20 69 |nto tmp.|if tmp i|
|00000d10| 73 20 4e 4f 54 20 45 4d | 50 54 59 20 74 68 65 6e |s NOT EM|PTY then|
|00000d20| 0d 61 6e 73 77 65 72 20 | 22 54 68 65 72 65 20 69 |.answer |"There i|
|00000d30| 73 20 6e 6f 74 20 65 6e | 6f 75 67 68 20 6d 65 6d |s not en|ough mem|
|00000d40| 6f 72 79 20 74 6f 20 72 | 75 6e 20 74 68 65 20 41 |ory to r|un the A|
|00000d50| 70 70 6c 65 20 4d 65 64 | 69 61 20 54 6f 6f 6c 4b |pple Med|ia ToolK|
|00000d60| 69 74 2e 20 22 0d 53 45 | 4e 44 20 22 64 6f 4d 65 |it. ".SE|ND "doMe|
|00000d70| 6e 75 20 51 75 69 74 20 | 48 79 70 65 72 43 61 72 |nu Quit |HyperCar|
|00000d80| 64 22 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |d" to Hy|perCard.|
|00000d90| 65 6e 64 20 69 66 0d 75 | 6e 6c 6f 63 6b 20 73 63 |end if.u|nlock sc|
|00000da0| 72 65 65 6e 0d 77 61 69 | 74 20 31 30 30 0d 65 6e |reen.wai|t 100.en|
|00000db0| 64 20 69 66 0d 0d 0d 2d | 2d 20 20 20 20 20 20 20 |d if...-|- |
|00000dc0| 20 20 4e 41 4d 45 53 20 | 28 77 2f 43 4f 4c 4f 4e | NAMES |(w/COLON|
|00000dd0| 53 29 0d 2d 2d 20 47 65 | 6e 65 72 61 6c 0d 70 75 |S).-- Ge|neral.pu|
|00000de0| 74 20 22 47 65 74 74 69 | 6e 67 20 53 74 61 72 74 |t "Getti|ng Start|
|00000df0| 65 64 3a 41 4d 54 4b 20 | 69 6e 74 65 72 6e 61 6c |ed:AMTK |internal|
|00000e00| 3a 22 20 69 6e 74 6f 20 | 67 5f 49 6e 74 65 72 6e |:" into |g_Intern|
|00000e10| 61 6c 46 6f 6c 64 65 72 | 0d 70 75 74 20 22 4d 65 |alFolder|.put "Me|
|00000e20| 64 69 61 20 4d 61 74 65 | 72 69 61 6c 73 3a 22 20 |dia Mate|rials:" |
|00000e30| 69 6e 74 6f 20 67 5f 50 | 72 69 6e 74 46 6f 6c 64 |into g_P|rintFold|
|00000e40| 65 72 0d 70 75 74 20 22 | 50 72 6f 64 75 63 74 20 |er.put "|Product |
|00000e50| 43 6f 6d 70 6f 6e 65 6e | 74 73 3a 22 20 69 6e 74 |Componen|ts:" int|
|00000e60| 6f 20 67 5f 50 72 6f 64 | 75 63 74 46 6f 6c 64 65 |o g_Prod|uctFolde|
|00000e70| 72 0d 70 75 74 20 22 41 | 70 70 6c 65 20 50 72 6f |r.put "A|pple Pro|
|00000e80| 64 75 63 74 73 3a 22 20 | 69 6e 74 6f 20 67 5f 50 |ducts:" |into g_P|
|00000e90| 72 6f 64 75 63 74 53 75 | 62 46 6f 6c 64 65 72 0d |roductSu|bFolder.|
|00000ea0| 0d 70 75 74 20 22 50 68 | 6f 74 6f 67 72 61 70 68 |.put "Ph|otograph|
|00000eb0| 79 3a 22 20 69 6e 74 6f | 20 67 5f 50 68 6f 74 6f |y:" into| g_Photo|
|00000ec0| 46 6f 6c 64 65 72 0d 70 | 75 74 20 22 43 6f 6c 6f |Folder.p|ut "Colo|
|00000ed0| 72 3a 22 20 69 6e 74 6f | 20 67 5f 50 68 6f 74 6f |r:" into| g_Photo|
|00000ee0| 53 75 62 46 6f 6c 64 65 | 72 43 6f 6c 6f 72 0d 70 |SubFolde|rColor.p|
|00000ef0| 75 74 20 22 42 6c 61 63 | 6b 20 61 6e 64 20 57 68 |ut "Blac|k and Wh|
|00000f00| 69 74 65 3a 22 20 69 6e | 74 6f 20 67 5f 50 68 6f |ite:" in|to g_Pho|
|00000f10| 74 6f 53 75 62 46 6f 6c | 64 65 72 42 57 0d 0d 70 |toSubFol|derBW..p|
|00000f20| 75 74 20 22 46 75 6c 6c | 20 54 65 78 74 3a 22 20 |ut "Full| Text:" |
|00000f30| 69 6e 74 6f 20 67 5f 42 | 6f 64 79 43 6f 70 79 46 |into g_B|odyCopyF|
|00000f40| 6f 6c 64 65 72 0d 50 75 | 74 20 22 47 65 74 20 49 |older.Pu|t "Get I|
|00000f50| 6e 66 6f 73 3a 22 20 69 | 6e 74 6f 20 67 5f 47 65 |nfos:" i|nto g_Ge|
|00000f60| 74 49 6e 66 6f 46 6f 6c | 64 65 72 0d 50 75 74 20 |tInfoFol|der.Put |
|00000f70| 22 50 72 65 76 69 65 77 | 20 50 69 63 74 75 72 65 |"Preview| Picture|
|00000f80| 73 3a 22 20 69 6e 74 6f | 20 67 5f 50 72 65 76 69 |s:" into| g_Previ|
|00000f90| 65 77 50 49 43 54 46 6f | 6c 64 65 72 0d 0d 2d 2d |ewPICTFo|lder..--|
|00000fa0| 20 52 61 64 69 6f 20 53 | 63 72 69 70 74 73 0d 50 | Radio S|cripts.P|
|00000fb0| 75 74 20 22 52 61 64 69 | 6f 20 53 63 72 69 70 74 |ut "Radi|o Script|
|00000fc0| 73 3a 22 20 69 6e 74 6f | 20 67 5f 51 54 52 61 64 |s:" into| g_QTRad|
|00000fd0| 69 6f 46 6f 6c 64 65 72 | 20 2d 2d 20 66 6f 6c 64 |ioFolder| -- fold|
|00000fe0| 65 72 20 66 6f 72 20 51 | 75 69 63 6b 54 69 6d 65 |er for Q|uickTime|
|00000ff0| 20 53 4e 44 0d 0d 2d 2d | 20 50 72 6f 64 75 63 74 | SND..--| Product|
|00001000| 20 41 72 74 0d 70 75 74 | 20 22 42 2f 57 20 45 50 | Art.put| "B/W EP|
|00001010| 53 20 28 4c 69 6e 65 20 | 41 72 74 29 22 20 69 6e |S (Line |Art)" in|
|00001020| 74 6f 20 67 5f 50 41 43 | 6f 6c 6f 72 42 57 20 2d |to g_PAC|olorBW -|
|00001030| 2d 20 53 75 62 2d 46 6f | 6c 64 65 72 20 4e 61 6d |- Sub-Fo|lder Nam|
|00001040| 65 20 d1 20 42 2f 57 0d | 70 75 74 20 22 47 72 61 |e . B/W.|put "Gra|
|00001050| 79 20 53 63 61 6c 65 20 | 45 50 53 22 20 69 6e 74 |y Scale |EPS" int|
|00001060| 6f 20 67 5f 50 41 43 6f | 6c 6f 72 47 72 61 79 20 |o g_PACo|lorGray |
|00001070| 2d 2d 20 53 75 62 2d 46 | 6f 6c 64 65 72 20 4e 61 |-- Sub-F|older Na|
|00001080| 6d 65 20 d1 20 47 72 61 | 79 20 53 63 61 6c 65 0d |me . Gra|y Scale.|
|00001090| 70 75 74 20 22 43 6f 6c | 6f 72 20 45 50 53 22 20 |put "Col|or EPS" |
|000010a0| 69 6e 74 6f 20 67 5f 50 | 41 43 6f 6c 6f 72 43 6f |into g_P|AColorCo|
|000010b0| 6c 6f 72 20 2d 2d 20 20 | 20 20 20 20 20 20 53 75 |lor -- | Su|
|000010c0| 62 2d 46 6f 6c 64 65 72 | 20 4e 61 6d 65 20 d1 20 |b-Folder| Name . |
|000010d0| 43 6f 6c 6f 72 0d 0d 2d | 2d 20 44 61 74 61 73 68 |Color..-|- Datash|
|000010e0| 65 65 74 73 0d 70 75 74 | 20 22 44 61 74 61 73 68 |eets.put| "Datash|
|000010f0| 65 65 74 20 50 72 65 76 | 69 65 77 73 3a 22 20 69 |eet Prev|iews:" i|
|00001100| 6e 74 6f 20 67 5f 44 53 | 70 61 74 68 54 6f 44 53 |nto g_DS|pathToDS|
|00001110| 50 49 43 54 20 2d 2d 20 | 46 6f 6c 64 65 72 20 77 |PICT -- |Folder w|
|00001120| 2f 44 53 20 70 72 65 76 | 69 65 77 73 0d 70 75 74 |/DS prev|iews.put|
|00001130| 20 22 44 65 73 63 72 69 | 70 74 69 76 65 20 43 6f | "Descri|ptive Co|
|00001140| 70 79 20 50 72 65 76 69 | 65 77 73 3a 44 65 73 63 |py Previ|ews:Desc|
|00001150| 72 69 70 74 69 76 65 20 | 43 6f 70 79 22 c2 0d 69 |riptive |Copy"..i|
|00001160| 6e 74 6f 20 67 5f 44 53 | 70 61 74 68 54 6f 44 43 |nto g_DS|pathToDC|
|00001170| 50 49 43 54 20 2d 2d 20 | 20 20 20 20 20 20 20 46 |PICT -- | F|
|00001180| 6f 6c 64 65 72 20 77 2f | 44 43 20 70 72 65 76 69 |older w/|DC previ|
|00001190| 65 77 2e 0d 2d 2d 20 20 | 20 20 20 20 20 20 4e 4f |ew..-- | NO|
|000011a0| 54 45 3a 20 4f 4e 4c 59 | 20 4f 4e 45 20 46 49 4c |TE: ONLY| ONE FIL|
|000011b0| 45 20 6e 6f 74 20 61 20 | 46 4f 4c 44 45 52 20 6f |E not a |FOLDER o|
|000011c0| 66 20 46 49 4c 45 53 0d | 70 75 74 20 22 44 61 74 |f FILES.|put "Dat|
|000011d0| 61 73 68 65 65 74 20 46 | 69 6c 65 73 3a 22 20 69 |asheet F|iles:" i|
|000011e0| 6e 74 6f 20 67 5f 44 53 | 70 61 74 68 54 6f 44 53 |nto g_DS|pathToDS|
|000011f0| 46 69 6c 65 73 20 2d 2d | 20 46 6f 6c 64 65 72 20 |Files --| Folder |
|00001200| 77 2f 44 53 20 46 69 6c | 65 73 0d 70 75 74 20 22 |w/DS Fil|es.put "|
|00001210| 44 65 73 63 72 69 70 74 | 69 76 65 20 43 6f 70 79 |Descript|ive Copy|
|00001220| 20 46 69 6c 65 73 3a 22 | 20 69 6e 74 6f 20 67 5f | Files:"| into g_|
|00001230| 44 53 70 61 74 68 54 6f | 44 43 46 69 6c 65 73 20 |DSpathTo|DCFiles |
|00001240| 20 2d 2d 20 46 6f 6c 64 | 65 72 20 77 2f 44 43 20 | -- Fold|er w/DC |
|00001250| 66 69 6c 65 73 0d 0d 0d | 2d 2d 20 20 20 20 20 20 |files...|-- |
|00001260| 20 20 20 20 20 20 20 20 | 53 65 74 75 70 20 46 55 | |Setup FU|
|00001270| 4c 4c 20 52 6f 6f 74 20 | 50 61 74 68 20 54 6f 20 |LL Root |Path To |
|00001280| 4d 61 69 6e 20 46 6f 6c | 64 65 72 73 2f 46 69 6c |Main Fol|ders/Fil|
|00001290| 65 73 0d 70 75 74 20 46 | 75 6c 6c 52 6f 6f 74 50 |es.put F|ullRootP|
|000012a0| 61 74 68 20 28 29 20 69 | 6e 74 6f 20 67 5f 41 4d |ath () i|nto g_AM|
|000012b0| 54 4b 53 74 61 63 6b 50 | 61 74 68 20 2d 2d 20 47 |TKStackP|ath -- G|
|000012c0| 65 74 20 50 61 74 68 4e | 61 6d 65 20 77 2f 45 6e |et PathN|ame w/En|
|000012d0| 64 69 6e 67 20 43 4f 4c | 4f 4e 0d 70 75 74 20 73 |ding COL|ON.put s|
|000012e0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000012f0| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 67 5f 41 |s stack |into g_A|
|00001300| 4d 54 4b 53 74 61 63 6b | 4e 61 6d 65 20 2d 2d 20 |MTKStack|Name -- |
|00001310| 4e 61 6d 65 20 6f 6e 6c | 79 0d 0d 70 75 74 20 67 |Name onl|y..put g|
|00001320| 5f 41 4d 54 4b 53 74 61 | 63 6b 50 61 74 68 20 26 |_AMTKSta|ckPath &|
|00001330| 20 67 5f 49 6e 74 65 72 | 6e 61 6c 46 6f 6c 64 65 | g_Inter|nalFolde|
|00001340| 72 20 26 20 22 41 4d 54 | 4b 20 48 65 6c 70 3a 48 |r & "AMT|K Help:H|
|00001350| 65 6c 70 20 53 74 61 63 | 6b 22 c2 0d 69 6e 74 6f |elp Stac|k"..into|
|00001360| 20 67 5f 48 45 4c 50 53 | 74 61 63 6b 50 61 74 68 | g_HELPS|tackPath|
|00001370| 0d 0d 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 43 4f |...-- | CO|
|00001380| 4e 53 54 41 4e 54 53 0d | 70 75 74 20 31 30 20 69 |NSTANTS.|put 10 i|
|00001390| 6e 74 6f 20 67 5f 46 6c | 64 73 50 65 72 52 65 63 |nto g_Fl|dsPerRec|
|000013a0| 20 2d 2d 20 4e 75 6d 62 | 65 72 20 6f 66 20 46 69 | -- Numb|er of Fi|
|000013b0| 65 6c 64 73 20 69 6e 20 | 65 61 63 68 20 52 65 63 |elds in |each Rec|
|000013c0| 6f 72 64 0d 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |ord..-- | |
|000013d0| 50 52 45 46 45 52 45 4e | 43 45 53 0d 47 65 74 50 |PREFEREN|CES.GetP|
|000013e0| 72 65 66 65 72 65 6e 63 | 65 73 0d 0d 2d 2d 20 20 |referenc|es..-- |
|000013f0| 20 20 20 20 20 20 48 49 | 44 44 45 4e 20 46 49 45 | HI|DDEN FIE|
|00001400| 4c 44 53 0d 68 69 64 65 | 20 43 44 20 66 6c 64 20 |LDS.hide| CD fld |
|00001410| 22 53 79 73 74 65 6d 20 | 54 65 78 74 22 0d 68 69 |"System |Text".hi|
|00001420| 64 65 20 43 44 20 62 74 | 6e 20 22 43 6c 69 63 6b |de CD bt|n "Click|
|00001430| 20 74 6f 20 43 6f 6e 74 | 69 6e 75 65 22 0d 65 6e | to Cont|inue".en|
|00001440| 64 20 6f 70 65 6e 73 74 | 61 63 6b 0d 0d 0d 6f 6e |d openst|ack...on|
|00001450| 20 63 6c 6f 73 65 73 74 | 61 63 6b 0d 63 6f 6c 6f | closest|ack.colo|
|00001460| 72 69 7a 65 48 43 20 22 | 64 69 73 70 6f 73 65 22 |rizeHC "|dispose"|
|00001470| 0d 2d 2d 20 68 52 65 73 | 65 74 43 6f 6c 6f 72 4d |.-- hRes|etColorM|
|00001480| 6f 64 65 0d 65 6e 64 20 | 63 6c 6f 73 65 73 74 61 |ode.end |closesta|
|00001490| 63 6b 0d 0d 0d 6f 6e 20 | 64 6f 48 65 6c 70 53 74 |ck...on |doHelpSt|
|000014a0| 61 63 6b 0d 47 6c 6f 62 | 61 6c 20 67 5f 41 4d 54 |ack.Glob|al g_AMT|
|000014b0| 4b 53 74 61 63 6b 50 61 | 74 68 2c 20 67 5f 41 4d |KStackPa|th, g_AM|
|000014c0| 54 4b 53 74 61 63 6b 4e | 61 6d 65 0d 47 6c 6f 62 |TKStackN|ame.Glob|
|000014d0| 61 6c 20 67 5f 53 59 53 | 46 6f 6c 64 65 72 2c 20 |al g_SYS|Folder, |
|000014e0| 67 5f 53 59 53 56 6f 6c | 75 6d 65 0d 47 6c 6f 62 |g_SYSVol|ume.Glob|
|000014f0| 61 6c 20 67 5f 49 6e 74 | 65 72 6e 61 6c 46 6f 6c |al g_Int|ernalFol|
|00001500| 64 65 72 0d 0d 47 6c 6f | 62 61 6c 20 67 5f 48 45 |der..Glo|bal g_HE|
|00001510| 4c 50 53 74 61 63 6b 50 | 61 74 68 0d 47 6c 6f 62 |LPStackP|ath.Glob|
|00001520| 61 6c 20 67 5f 52 65 74 | 75 72 6e 46 72 6f 6d 48 |al g_Ret|urnFromH|
|00001530| 65 6c 70 0d 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |elp..loc|k screen|
|00001540| 0d 0d 70 75 74 20 69 64 | 20 6f 66 20 74 68 69 73 |..put id| of this|
|00001550| 20 43 41 52 44 20 69 6e | 74 6f 20 67 5f 52 65 74 | CARD in|to g_Ret|
|00001560| 75 72 6e 46 72 6f 6d 48 | 65 6c 70 0d 2d 2d 20 70 |urnFromH|elp.-- p|
|00001570| 75 74 20 67 5f 52 65 74 | 75 72 6e 46 72 6f 6d 48 |ut g_Ret|urnFromH|
|00001580| 65 6c 70 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |elp.lock| screen.|
|00001590| 67 6f 20 63 64 20 31 20 | 6f 66 20 73 74 61 63 6b |go cd 1 |of stack|
|000015a0| 20 67 5f 48 45 4c 50 53 | 74 61 63 6b 50 61 74 68 | g_HELPS|tackPath|
|000015b0| 0d 65 6e 64 20 64 6f 48 | 65 6c 70 53 74 61 63 6b |.end doH|elpStack|
|000015c0| 0d 0d 0d b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000015d0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000015e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 0d 0d 66 75 6e 63 |........|....func|
|000015f0| 74 69 6f 6e 20 68 47 65 | 74 41 70 70 6c 4c 69 73 |tion hGe|tApplLis|
|00001600| 74 0d 70 75 74 20 41 70 | 70 6c 69 63 61 74 69 6f |t.put Ap|plicatio|
|00001610| 6e 4c 69 73 74 28 29 20 | 69 6e 74 6f 20 74 6d 70 |nList() |into tmp|
|00001620| 0d 70 75 74 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |.put num|ber of l|
|00001630| 69 6e 65 73 20 6f 66 20 | 41 70 70 6c 69 63 61 74 |ines of |Applicat|
|00001640| 69 6f 6e 4c 69 73 74 28 | 29 20 69 6e 74 6f 20 63 |ionList(|) into c|
|00001650| 6e 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 78 |nt.repea|t with x|
|00001660| 20 3d 31 20 74 6f 20 63 | 6e 74 0d 64 65 6c 65 74 | =1 to c|nt.delet|
|00001670| 65 20 6c 61 73 74 20 77 | 6f 72 64 20 6f 66 20 6c |e last w|ord of l|
|00001680| 69 6e 65 20 78 20 6f 66 | 20 74 6d 70 0d 64 65 6c |ine x of| tmp.del|
|00001690| 65 74 65 20 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |ete last| word of|
|000016a0| 20 6c 69 6e 65 20 78 20 | 6f 66 20 74 6d 70 0d 69 | line x |of tmp.i|
|000016b0| 66 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 6c |f last c|har of l|
|000016c0| 69 6e 65 20 78 20 6f 66 | 20 74 6d 70 20 3d 20 53 |ine x of| tmp = S|
|000016d0| 50 41 43 45 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |PACE the|n delete|
|000016e0| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 6c 69 | last ch|ar of li|
|000016f0| 6e 65 20 78 20 6f 66 20 | 74 6d 70 0d 65 6e 64 20 |ne x of |tmp.end |
|00001700| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 28 74 |repeat.r|eturn (t|
|00001710| 6d 70 26 52 45 54 55 52 | 4e 29 0d 65 6e 64 20 68 |mp&RETUR|N).end h|
|00001720| 47 65 74 41 70 70 6c 4c | 69 73 74 0d 0d 0d 66 75 |GetApplL|ist...fu|
|00001730| 6e 63 74 69 6f 6e 20 68 | 47 65 74 41 70 70 6c 4d |nction h|GetApplM|
|00001740| 65 6d 53 69 7a 65 20 61 | 70 70 4e 61 6d 65 0d 2d |emSize a|ppName.-|
|00001750| 2d 70 75 74 20 61 70 70 | 4e 61 6d 65 0d 70 75 74 |-put app|Name.put|
|00001760| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 4c 69 73 74 | Applica|tionList|
|00001770| 28 29 20 69 6e 74 6f 20 | 74 6d 70 0d 70 75 74 20 |() into |tmp.put |
|00001780| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00001790| 6f 66 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 4c 69 |of Appli|cationLi|
|000017a0| 73 74 28 29 20 69 6e 74 | 6f 20 63 6e 74 0d 72 65 |st() int|o cnt.re|
|000017b0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 31 20 74 |peat wit|h x =1 t|
|000017c0| 6f 20 63 6e 74 0d 69 66 | 20 61 70 70 4e 61 6d 65 |o cnt.if| appName|
|000017d0| 20 69 73 20 4e 4f 54 20 | 69 6e 20 6c 69 6e 65 20 | is NOT |in line |
|000017e0| 78 20 6f 66 20 74 6d 70 | 20 74 68 65 6e 20 6e 65 |x of tmp| then ne|
|000017f0| 78 74 20 72 65 70 65 61 | 74 0d 64 65 6c 65 74 65 |xt repea|t.delete|
|00001800| 20 6c 61 73 74 20 77 6f | 72 64 20 6f 66 20 6c 69 | last wo|rd of li|
|00001810| 6e 65 20 78 20 6f 66 20 | 74 6d 70 0d 69 66 20 6c |ne x of |tmp.if l|
|00001820| 61 73 74 20 63 68 61 72 | 20 6f 66 20 6c 69 6e 65 |ast char| of line|
|00001830| 20 78 20 6f 66 20 74 6d | 70 20 3d 20 53 50 41 43 | x of tm|p = SPAC|
|00001840| 45 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6c 61 |E then d|elete la|
|00001850| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 69 6e 65 20 |st char |of line |
|00001860| 78 20 6f 66 20 74 6d 70 | 0d 65 78 69 74 20 72 65 |x of tmp|.exit re|
|00001870| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00001880| 72 65 74 75 72 6e 20 28 | 6c 61 73 74 20 77 6f 72 |return (|last wor|
|00001890| 64 20 6f 66 20 6c 69 6e | 65 20 78 20 6f 66 20 74 |d of lin|e x of t|
|000018a0| 6d 70 29 0d 65 6e 64 20 | 68 47 65 74 41 70 70 6c |mp).end |hGetAppl|
|000018b0| 4d 65 6d 53 69 7a 65 0d | 0d 56 6f 6c 75 6d 65 4c |MemSize.|.VolumeL|
|000018c0| 69 73 74 0d 0d 66 75 6e | 63 74 69 6f 6e 20 68 47 |ist..fun|ction hG|
|000018d0| 65 74 56 6f 6c 75 6d 65 | 4c 69 73 74 0d 67 65 74 |etVolume|List.get|
|000018e0| 20 56 6f 6c 75 6d 65 4c | 69 73 74 20 28 29 0d 72 | VolumeL|ist ().r|
|000018f0| 65 74 75 72 6e 20 28 69 | 74 29 20 2d 2d 20 61 6c |eturn (i|t) -- al|
|00001900| 6c 20 6f 6e 2d 6c 69 6e | 65 20 76 6f 6c 75 6d 65 |l on-lin|e volume|
|00001910| 73 0d 65 6e 64 20 68 47 | 65 74 56 6f 6c 75 6d 65 |s.end hG|etVolume|
|00001920| 4c 69 73 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 68 |List..fu|nction h|
|00001930| 47 65 74 46 72 65 65 44 | 69 73 6b 53 70 61 63 65 |GetFreeD|iskSpace|
|00001940| 20 76 6f 6c 75 6d 65 4e | 61 6d 65 0d 67 65 74 20 | volumeN|ame.get |
|00001950| 56 6f 6c 75 6d 65 44 69 | 73 6b 53 70 61 63 65 20 |VolumeDi|skSpace |
|00001960| 28 76 6f 6c 75 6d 65 4e | 61 6d 65 29 0d 72 65 74 |(volumeN|ame).ret|
|00001970| 75 72 6e 20 28 69 74 29 | 20 2d 2d 20 66 72 65 65 |urn (it)| -- free|
|00001980| 20 73 70 61 63 65 20 6f | 6e 20 53 65 6c 65 63 74 | space o|n Select|
|00001990| 65 64 20 64 72 69 76 65 | 0d 65 6e 64 20 68 47 65 |ed drive|.end hGe|
|000019a0| 74 46 72 65 65 44 69 73 | 6b 53 70 61 63 65 0d 0d |tFreeDis|kSpace..|
|000019b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000019c0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000019d0| b0 b0 b0 b0 b0 b0 b0 0d | 0d 0d 66 75 6e 63 74 69 |........|..functi|
|000019e0| 6f 6e 20 68 47 65 74 53 | 79 73 74 65 6d 49 6e 66 |on hGetS|ystemInf|
|000019f0| 6f 0d 47 6c 6f 62 61 6c | 20 67 5f 53 79 73 5f 41 |o.Global| g_Sys_A|
|00001a00| 62 6f 72 74 5f 46 6c 61 | 67 0d 0d 47 6c 6f 62 61 |bort_Fla|g..Globa|
|00001a10| 6c 20 67 5f 53 79 73 56 | 65 72 73 46 4c 41 47 2c |l g_SysV|ersFLAG,|
|00001a20| 20 67 5f 46 6f 6e 74 46 | 4c 41 47 2c 20 67 5f 43 | g_FontF|LAG, g_C|
|00001a30| 6f 6c 6f 72 46 4c 41 47 | 0d 47 6c 6f 62 61 6c 20 |olorFLAG|.Global |
|00001a40| 67 5f 43 75 72 72 65 6e | 74 48 79 70 65 72 43 61 |g_Curren|tHyperCa|
|00001a50| 72 64 46 4c 41 47 2c 20 | 67 5f 43 75 72 72 65 6e |rdFLAG, |g_Curren|
|00001a60| 74 50 61 67 65 4d 61 6b | 65 72 46 4c 41 47 0d 47 |tPageMak|erFLAG.G|
|00001a70| 6c 6f 62 61 6c 20 67 5f | 45 6e 6f 75 67 68 48 43 |lobal g_|EnoughHC|
|00001a80| 6d 65 6d 46 4c 41 47 2c | 20 67 5f 45 6e 6f 75 67 |memFLAG,| g_Enoug|
|00001a90| 68 50 4d 6d 65 6d 46 4c | 41 47 0d 47 6c 6f 62 61 |hPMmemFL|AG.Globa|
|00001aa0| 6c 20 67 5f 54 6f 74 52 | 41 4d 2c 20 20 67 5f 54 |l g_TotR|AM, g_T|
|00001ab0| 6f 74 52 41 4d 4c 65 66 | 74 2c 20 67 5f 54 6f 74 |otRAMLef|t, g_Tot|
|00001ac0| 48 65 61 70 4c 65 66 74 | 0d 0d 47 6c 6f 62 61 6c |HeapLeft|..Global|
|00001ad0| 20 67 45 72 72 6f 72 53 | 74 72 20 2d 2d 20 55 73 | gErrorS|tr -- Us|
|00001ae0| 65 64 20 66 6f 72 20 41 | 70 70 6c 65 20 58 43 4d |ed for A|pple XCM|
|00001af0| 44 73 0d 47 6c 6f 62 61 | 6c 20 67 5f 43 75 72 53 |Ds.Globa|l g_CurS|
|00001b00| 63 72 65 65 6e 43 6f 6c | 6f 72 0d 0d 2d 2d 20 20 |creenCol|or..-- |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 41 73 73 75 6d 65 20 | 65 76 65 72 79 74 68 69 | Assume |everythi|
|00001b30| 6e 67 73 20 4f 4b 0d 70 | 75 74 20 45 4d 50 54 59 |ngs OK.p|ut EMPTY|
|00001b40| 20 69 6e 74 6f 20 67 5f | 53 79 73 5f 41 62 6f 72 | into g_|Sys_Abor|
|00001b50| 74 5f 46 6c 61 67 20 2d | 2d 20 46 4c 41 47 20 54 |t_Flag -|- FLAG T|
|00001b60| 4f 20 45 58 49 54 20 48 | 43 0d 70 75 74 20 54 52 |O EXIT H|C.put TR|
|00001b70| 55 45 20 69 6e 74 6f 20 | 67 5f 43 75 72 72 65 6e |UE into |g_Curren|
|00001b80| 74 48 79 70 65 72 43 61 | 72 64 46 4c 41 47 20 2d |tHyperCa|rdFLAG -|
|00001b90| 2d 20 51 55 49 54 20 69 | 66 20 46 41 4c 53 45 20 |- QUIT i|f FALSE |
|00001ba0| 28 2a 2a 4e 4f 57 2a 2a | 29 0d 70 75 74 20 54 52 |(**NOW**|).put TR|
|00001bb0| 55 45 20 69 6e 74 6f 20 | 67 5f 43 75 72 72 65 6e |UE into |g_Curren|
|00001bc0| 74 50 61 67 65 4d 61 6b | 65 72 46 4c 41 47 20 2d |tPageMak|erFLAG -|
|00001bd0| 2d 20 43 6f 6e 74 69 6e | 75 65 20 69 66 20 46 41 |- Contin|ue if FA|
|00001be0| 4c 53 45 0d 70 75 74 20 | 54 52 55 45 20 69 6e 74 |LSE.put |TRUE int|
|00001bf0| 6f 20 67 5f 53 79 73 56 | 65 72 73 46 4c 41 47 20 |o g_SysV|ersFLAG |
|00001c00| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|00001c10| 20 20 51 55 49 54 20 69 | 66 20 46 41 4c 53 45 20 | QUIT i|f FALSE |
|00001c20| 28 2a 2a 4e 4f 57 2a 2a | 29 0d 70 75 74 20 54 52 |(**NOW**|).put TR|
|00001c30| 55 45 20 69 6e 74 6f 20 | 67 5f 46 6f 6e 74 46 4c |UE into |g_FontFL|
|00001c40| 41 47 20 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |AG -- | |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 43 6f 6e 74 69 | | Conti|
|00001c60| 6e 75 65 20 69 66 20 46 | 41 4c 53 45 0d 70 75 74 |nue if F|ALSE.put|
|00001c70| 20 54 52 55 45 20 69 6e | 74 6f 20 67 5f 45 6e 6f | TRUE in|to g_Eno|
|00001c80| 75 67 68 48 43 6d 65 6d | 46 4c 41 47 20 2d 2d 20 |ughHCmem|FLAG -- |
|00001c90| 51 55 49 54 20 69 66 20 | 46 41 4c 53 45 20 28 2a |QUIT if |FALSE (*|
|00001ca0| 2a 4c 41 54 45 52 2a 2a | 29 0d 70 75 74 20 54 52 |*LATER**|).put TR|
|00001cb0| 55 45 20 69 6e 74 6f 20 | 67 5f 45 6e 6f 75 67 68 |UE into |g_Enough|
|00001cc0| 50 4d 6d 65 6d 46 4c 41 | 47 20 2d 2d 20 43 6f 6e |PMmemFLA|G -- Con|
|00001cd0| 74 69 6e 75 65 20 69 66 | 20 46 41 4c 53 45 0d 70 |tinue if| FALSE.p|
|00001ce0| 75 74 20 45 4d 50 54 59 | 20 69 6e 74 6f 20 67 5f |ut EMPTY| into g_|
|00001cf0| 54 6f 74 52 41 4d 0d 70 | 75 74 20 45 4d 50 54 59 |TotRAM.p|ut EMPTY|
|00001d00| 20 69 6e 74 6f 20 67 5f | 54 6f 74 52 41 4d 4c 65 | into g_|TotRAMLe|
|00001d10| 66 74 0d 70 75 74 20 45 | 4d 50 54 59 20 69 6e 74 |ft.put E|MPTY int|
|00001d20| 6f 20 67 5f 54 6f 74 48 | 65 61 70 4c 65 66 74 0d |o g_TotH|eapLeft.|
|00001d30| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|00001d40| 20 20 20 20 20 20 20 20 | 20 20 20 4d 41 4e 44 41 | | MANDA|
|00001d50| 54 4f 52 59 20 43 48 45 | 43 4b 53 0d 2d 2d 20 20 |TORY CHE|CKS.-- |
|00001d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d70| 20 20 20 20 20 20 43 68 | 65 63 6b 20 53 79 73 74 | Ch|eck Syst|
|00001d80| 65 6d 20 56 65 72 73 69 | 6f 6e 0d 70 75 74 20 4d |em Versi|on.put M|
|00001d90| 61 63 54 79 70 65 28 29 | 20 26 20 52 45 54 55 52 |acType()| & RETUR|
|00001da0| 4e 20 69 6e 74 6f 20 74 | 6d 70 0d 73 65 74 20 74 |N into t|mp.set t|
|00001db0| 68 65 20 69 74 65 6d 44 | 65 6c 69 6d 69 74 65 72 |he itemD|elimiter|
|00001dc0| 20 74 6f 20 43 4f 4d 4d | 41 0d 70 75 74 20 69 74 | to COMM|A.put it|
|00001dd0| 65 6d 20 32 20 6f 66 20 | 74 6d 70 20 69 6e 74 6f |em 2 of |tmp into|
|00001de0| 20 74 53 79 73 56 65 72 | 73 20 2d 2d 20 43 75 72 | tSysVer|s -- Cur|
|00001df0| 72 65 6e 74 20 53 79 73 | 74 65 6d 20 56 65 72 73 |rent Sys|tem Vers|
|00001e00| 69 6f 6e 0d 69 66 20 63 | 68 61 72 20 31 20 6f 66 |ion.if c|har 1 of|
|00001e10| 20 74 53 79 73 56 65 72 | 73 20 ad 20 22 37 22 20 | tSysVer|s . "7" |
|00001e20| 74 68 65 6e 20 2d 2d 20 | 20 49 73 20 53 79 73 74 |then -- | Is Syst|
|00001e30| 65 6d 20 37 3f 3f 0d 70 | 75 74 20 46 41 4c 53 45 |em 7??.p|ut FALSE|
|00001e40| 20 69 6e 74 6f 20 67 5f | 53 79 73 56 65 72 73 46 | into g_|SysVersF|
|00001e50| 4c 41 47 20 2d 2d 20 4d | 41 4a 4f 52 20 45 52 52 |LAG -- M|AJOR ERR|
|00001e60| 4f 52 0d 70 75 74 20 54 | 52 55 45 20 69 6e 74 6f |OR.put T|RUE into|
|00001e70| 20 67 5f 53 79 73 5f 41 | 62 6f 72 74 5f 46 6c 61 | g_Sys_A|bort_Fla|
|00001e80| 67 20 2d 2d 20 41 62 6f | 72 74 20 61 74 20 31 73 |g -- Abo|rt at 1s|
|00001e90| 74 20 6f 70 70 6f 72 74 | 75 6e 69 74 79 0d 72 65 |t opport|unity.re|
|00001ea0| 74 75 72 6e 20 28 46 41 | 4c 53 45 29 20 2d 2d 20 |turn (FA|LSE) -- |
|00001eb0| 45 58 49 54 20 77 2f 46 | 4c 41 47 20 2d 20 67 6f |EXIT w/F|LAG - go|
|00001ec0| 20 6e 6f 20 66 75 72 74 | 68 65 72 0d 65 6e 64 20 | no furt|her.end |
|00001ed0| 69 66 0d 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |if..-- | |
|00001ee0| 20 20 43 68 65 63 6b 20 | 66 6f 72 20 43 6f 6c 6f | Check |for Colo|
|00001ef0| 72 2f 4d 6f 6e 69 74 6f | 72 20 73 69 7a 65 0d 68 |r/Monito|r size.h|
|00001f00| 47 65 74 43 6f 6c 6f 72 | 4d 6f 64 65 0d 67 65 74 |GetColor|Mode.get|
|00001f10| 20 74 68 65 20 73 63 72 | 65 65 6e 72 65 63 74 0d | the scr|eenrect.|
|00001f20| 2d 2d 20 70 75 74 20 73 | 68 6f 72 74 20 6e 61 6d |-- put s|hort nam|
|00001f30| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00001f40| 69 6e 74 6f 20 73 4e 61 | 6d 65 0d 2d 2d 20 73 65 |into sNa|me.-- se|
|00001f50| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 77 69 |t the re|ct of wi|
|00001f60| 6e 64 6f 77 20 73 4e 61 | 6d 65 20 74 6f 20 69 74 |ndow sNa|me to it|
|00001f70| 0d 2d 2d 20 70 75 74 20 | 74 68 65 20 72 65 63 74 |.-- put |the rect|
|00001f80| 20 6f 66 20 77 69 6e 64 | 6f 77 20 73 4e 61 6d 65 | of wind|ow sName|
|00001f90| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 44 65 6c |.set the| itemDel|
|00001fa0| 69 6d 69 74 65 72 20 74 | 6f 20 43 4f 4d 4d 41 0d |imiter t|o COMMA.|
|00001fb0| 69 66 20 69 74 65 6d 20 | 33 20 6f 66 20 67 5f 43 |if item |3 of g_C|
|00001fc0| 75 72 53 63 72 65 65 6e | 43 6f 6c 6f 72 20 3c 20 |urScreen|Color < |
|00001fd0| 38 20 c2 0d 6f 72 20 69 | 74 65 6d 20 33 20 6f 66 |8 ..or i|tem 3 of|
|00001fe0| 20 69 74 20 3c 20 22 36 | 34 30 22 20 c2 0d 6f 72 | it < "6|40" ..or|
|00001ff0| 20 69 74 65 6d 20 34 20 | 6f 66 20 69 74 20 3c 20 | item 4 |of it < |
|00002000| 22 34 38 30 22 20 74 68 | 65 6e 0d 70 75 74 20 46 |"480" th|en.put F|
|00002010| 41 4c 53 45 20 69 6e 74 | 6f 20 67 5f 43 6f 6c 6f |ALSE int|o g_Colo|
|00002020| 72 46 4c 41 47 20 2d 2d | 20 4d 41 4a 4f 52 20 45 |rFLAG --| MAJOR E|
|00002030| 52 52 4f 52 0d 70 75 74 | 20 54 52 55 45 20 69 6e |RROR.put| TRUE in|
|00002040| 74 6f 20 67 5f 53 79 73 | 5f 41 62 6f 72 74 5f 46 |to g_Sys|_Abort_F|
|00002050| 6c 61 67 20 2d 2d 20 41 | 62 6f 72 74 20 61 74 20 |lag -- A|bort at |
|00002060| 31 73 74 20 6f 70 70 6f | 72 74 75 6e 69 74 79 0d |1st oppo|rtunity.|
|00002070| 72 65 74 75 72 6e 20 28 | 46 41 4c 53 45 29 20 2d |return (|FALSE) -|
|00002080| 2d 20 45 58 49 54 20 77 | 2f 46 4c 41 47 20 2d 20 |- EXIT w|/FLAG - |
|00002090| 67 6f 20 6e 6f 20 66 75 | 72 74 68 65 72 0d 65 6e |go no fu|rther.en|
|000020a0| 64 20 69 66 0d 68 53 65 | 74 43 6f 6c 6f 72 4d 6f |d if.hSe|tColorMo|
|000020b0| 64 65 20 2d 2d 20 53 77 | 69 74 63 68 20 6d 6f 6e |de -- Sw|itch mon|
|000020c0| 69 74 6f 72 20 74 6f 20 | 38 20 62 69 74 20 6d 6f |itor to |8 bit mo|
|000020d0| 64 65 0d 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |de..-- | |
|000020e0| 20 20 20 20 20 20 20 43 | 68 65 63 6b 20 66 6f 72 | C|heck for|
|000020f0| 20 48 79 70 65 72 43 61 | 72 64 20 76 65 72 73 69 | HyperCa|rd versi|
|00002100| 6f 6e 0d 69 66 20 74 68 | 65 20 76 65 72 73 69 6f |on.if th|e versio|
|00002110| 6e 20 6f 66 20 48 79 70 | 65 72 43 61 72 64 20 3c |n of Hyp|erCard <|
|00002120| 20 32 2e 31 20 74 68 65 | 6e 0d 70 75 74 20 46 41 | 2.1 the|n.put FA|
|00002130| 4c 53 45 20 69 6e 74 6f | 20 67 5f 43 75 72 72 65 |LSE into| g_Curre|
|00002140| 6e 74 48 79 70 65 72 43 | 61 72 64 46 4c 41 47 20 |ntHyperC|ardFLAG |
|00002150| 2d 2d 20 4d 41 4a 4f 52 | 20 45 52 52 4f 52 0d 70 |-- MAJOR| ERROR.p|
|00002160| 75 74 20 54 52 55 45 20 | 69 6e 74 6f 20 67 5f 53 |ut TRUE |into g_S|
|00002170| 79 73 5f 41 62 6f 72 74 | 5f 46 6c 61 67 20 2d 2d |ys_Abort|_Flag --|
|00002180| 20 41 62 6f 72 74 20 61 | 74 20 31 73 74 20 6f 70 | Abort a|t 1st op|
|00002190| 70 6f 72 74 75 6e 69 74 | 79 0d 72 65 74 75 72 6e |portunit|y.return|
|000021a0| 20 28 46 41 4c 53 45 29 | 20 2d 2d 20 45 58 49 54 | (FALSE)| -- EXIT|
|000021b0| 20 77 2f 46 4c 41 47 20 | 2d 20 67 6f 20 6e 6f 20 | w/FLAG |- go no |
|000021c0| 66 75 72 74 68 65 72 0d | 65 6e 64 20 69 66 0d 0d |further.|end if..|
|000021d0| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-- | |
|000021e0| 4f 50 54 49 4f 4e 41 4c | 20 43 48 45 43 4b 53 20 |OPTIONAL| CHECKS |
|000021f0| 28 65 78 63 65 70 74 20 | 48 43 20 6d 65 6d 6f 72 |(except |HC memor|
|00002200| 79 20 6c 65 66 74 29 0d | 2d 2d 20 20 20 20 20 20 |y left).|-- |
|00002210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002220| 20 47 45 54 20 4d 69 73 | 63 20 53 79 73 74 65 6d | GET Mis|c System|
|00002230| 20 49 6e 66 6f 0d 0d 70 | 75 74 20 54 6f 74 61 6c | Info..p|ut Total|
|00002240| 52 41 4d 28 29 20 64 69 | 76 20 31 30 32 34 20 69 |RAM() di|v 1024 i|
|00002250| 6e 74 6f 20 67 5f 54 6f | 74 52 41 4d 20 2d 2d 20 |nto g_To|tRAM -- |
|00002260| 54 6f 74 61 6c 20 52 41 | 4d 20 69 6e 20 4d 61 63 |Total RA|M in Mac|
|00002270| 0d 70 75 74 20 61 70 70 | 6c 4d 65 6d 6f 72 79 28 |.put app|lMemory(|
|00002280| 22 6e 6f 44 69 61 6c 6f | 67 3a 67 45 72 72 6f 72 |"noDialo|g:gError|
|00002290| 53 74 72 22 29 20 69 6e | 74 6f 20 67 5f 54 6f 74 |Str") in|to g_Tot|
|000022a0| 52 41 4d 4c 65 66 74 0d | 69 66 20 67 45 72 72 6f |RAMLeft.|if gErro|
|000022b0| 72 53 74 72 20 3d 20 22 | 22 20 74 68 65 6e 0d 70 |rStr = "|" then.p|
|000022c0| 75 74 20 67 5f 54 6f 74 | 52 41 4d 4c 65 66 74 20 |ut g_Tot|RAMLeft |
|000022d0| 64 69 76 20 31 30 32 34 | 20 69 6e 74 6f 20 67 5f |div 1024| into g_|
|000022e0| 54 6f 74 52 41 4d 4c 65 | 66 74 20 2d 2d 20 4d 61 |TotRAMLe|ft -- Ma|
|000022f0| 63 20 66 72 65 65 20 52 | 41 4d 0d 65 6c 73 65 20 |c free R|AM.else |
|00002300| 70 75 74 20 30 20 69 6e | 74 6f 20 67 5f 54 6f 74 |put 0 in|to g_Tot|
|00002310| 52 41 4d 4c 65 66 74 20 | 2d 2d 20 45 52 52 4f 52 |RAMLeft |-- ERROR|
|00002320| 20 2d 20 4f 75 74 20 6f | 66 20 4d 65 6d 6f 72 79 | - Out o|f Memory|
|00002330| 20 2d 20 43 6f 6e 74 69 | 6e 75 65 0d 70 75 74 20 | - Conti|nue.put |
|00002340| 74 68 65 20 68 65 61 70 | 73 70 61 63 65 20 64 69 |the heap|space di|
|00002350| 76 20 31 30 32 34 20 69 | 6e 74 6f 20 67 5f 54 6f |v 1024 i|nto g_To|
|00002360| 74 48 65 61 70 4c 65 66 | 74 20 2d 2d 20 48 43 20 |tHeapLef|t -- HC |
|00002370| 48 65 61 70 20 73 69 7a | 65 0d 0d 2d 2d 20 20 20 |Heap siz|e..-- |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002390| 48 79 70 65 72 43 61 72 | 64 20 6d 65 6d 6f 72 79 |HyperCar|d memory|
|000023a0| 20 63 68 65 63 6b 0d 2d | 2d 20 4e 4f 54 45 3a 20 | check.-|- NOTE: |
|000023b0| 49 66 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 48 43 |If not e|nough HC|
|000023c0| 20 6d 65 6d 6f 72 79 2c | 20 66 6c 61 67 20 69 74 | memory,| flag it|
|000023d0| 20 61 6e 64 20 63 6f 6e | 74 69 6e 75 65 0d 2d 2d | and con|tinue.--|
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 63 61 6c 6c 69 6e | | callin|
|000023f0| 67 20 72 6f 75 74 69 6e | 65 20 69 73 20 72 65 73 |g routin|e is res|
|00002400| 70 6f 6e 73 69 62 6c 65 | 20 66 6f 72 20 45 58 49 |ponsible| for EXI|
|00002410| 54 69 6e 67 20 69 66 20 | 46 4c 41 47 20 3d 20 46 |Ting if |FLAG = F|
|00002420| 41 4c 53 45 0d 69 66 20 | 67 5f 54 6f 74 48 65 61 |ALSE.if |g_TotHea|
|00002430| 70 4c 65 66 74 20 3c 20 | 31 30 30 30 20 74 68 65 |pLeft < |1000 the|
|00002440| 6e 0d 70 75 74 20 54 52 | 55 45 20 69 6e 74 6f 20 |n.put TR|UE into |
|00002450| 67 5f 53 79 73 5f 41 62 | 6f 72 74 5f 46 6c 61 67 |g_Sys_Ab|ort_Flag|
|00002460| 20 2d 2d 20 41 62 6f 72 | 74 20 61 74 20 31 73 74 | -- Abor|t at 1st|
|00002470| 20 6f 70 70 6f 72 74 75 | 6e 69 74 79 0d 70 75 74 | opportu|nity.put|
|00002480| 20 46 41 4c 53 45 20 69 | 6e 74 6f 20 67 5f 45 6e | FALSE i|nto g_En|
|00002490| 6f 75 67 68 48 43 6d 65 | 6d 46 4c 41 47 20 2d 2d |oughHCme|mFLAG --|
|000024a0| 20 4d 41 4a 4f 52 20 45 | 52 52 4f 52 0d 2d 2d 20 | MAJOR E|RROR.-- |
|000024b0| 66 61 6c 6c 20 77 2f 46 | 4c 41 47 20 3d 20 46 41 |fall w/F|LAG = FA|
|000024c0| 4c 53 45 20 2d 20 43 68 | 65 63 6b 20 6c 61 74 65 |LSE - Ch|eck late|
|000024d0| 72 0d 65 6e 64 20 69 66 | 0d 2d 2d 20 20 20 20 20 |r.end if|.-- |
|000024e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 61 67 | | Pag|
|000024f0| 65 4d 61 6b 65 72 20 6d | 65 6d 6f 72 79 20 63 68 |eMaker m|emory ch|
|00002500| 65 63 6b 0d 69 66 20 67 | 5f 54 6f 74 52 41 4d 4c |eck.if g|_TotRAML|
|00002510| 65 66 74 20 3c 20 31 35 | 30 30 20 74 68 65 6e 20 |eft < 15|00 then |
|00002520| 2d 2d 20 4d 69 6e 20 72 | 6f 6f 6d 20 66 6f 72 20 |-- Min r|oom for |
|00002530| 50 4d 0d 70 75 74 20 22 | 57 41 52 4e 49 4e 47 22 |PM.put "|WARNING"|
|00002540| 20 20 69 6e 74 6f 20 67 | 5f 53 79 73 5f 41 62 6f | into g|_Sys_Abo|
|00002550| 72 74 5f 46 6c 61 67 20 | 2d 2d 20 4f 4b 20 74 6f |rt_Flag |-- OK to|
|00002560| 20 63 6f 6e 74 69 6e 75 | 65 0d 70 75 74 20 46 41 | continu|e.put FA|
|00002570| 4c 53 45 20 69 6e 74 6f | 20 67 5f 45 6e 6f 75 67 |LSE into| g_Enoug|
|00002580| 68 50 4d 6d 65 6d 46 4c | 41 47 20 2d 2d 20 4d 49 |hPMmemFL|AG -- MI|
|00002590| 4e 4f 52 20 45 52 52 4f | 52 0d 2d 2d 20 66 61 6c |NOR ERRO|R.-- fal|
|000025a0| 6c 20 77 2f 46 4c 41 47 | 20 3d 20 46 41 4c 53 45 |l w/FLAG| = FALSE|
|000025b0| 20 2d 20 43 68 65 63 6b | 20 6c 61 74 65 72 0d 65 | - Check| later.e|
|000025c0| 6e 64 20 69 66 0d 0d 2d | 2d 20 20 20 20 20 20 20 |nd if..-|- |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 20 20 20 20 20 | 46 6f 6e 74 20 43 68 65 | |Font Che|
|000025f0| 63 6b 0d 69 66 20 46 6f | 6e 74 45 78 69 73 74 73 |ck.if Fo|ntExists|
|00002600| 58 46 43 4e 28 22 41 70 | 70 6c 65 47 61 72 61 6d |XFCN("Ap|pleGaram|
|00002610| 6f 6e 64 20 42 6b 22 2c | 20 22 31 32 22 29 20 3d |ond Bk",| "12") =|
|00002620| 20 46 41 4c 53 45 20 c2 | 0d 6f 72 20 28 46 6f 6e | FALSE .|.or (Fon|
|00002630| 74 45 78 69 73 74 73 58 | 46 43 4e 28 22 48 65 6c |tExistsX|FCN("Hel|
|00002640| 76 65 74 69 63 61 22 2c | 20 22 31 30 22 29 20 3d |vetica",| "10") =|
|00002650| 20 46 41 4c 53 45 20 c2 | 0d 6f 72 20 46 6f 6e 74 | FALSE .|.or Font|
|00002660| 45 78 69 73 74 73 58 46 | 43 4e 28 22 48 65 6c 76 |ExistsXF|CN("Helv|
|00002670| 65 74 69 63 61 22 2c 20 | 22 31 32 22 29 20 3d 20 |etica", |"12") = |
|00002680| 46 41 4c 53 45 29 20 c2 | 0d 6f 72 20 28 46 6f 6e |FALSE) .|.or (Fon|
|00002690| 74 45 78 69 73 74 73 58 | 46 43 4e 28 22 53 79 6d |tExistsX|FCN("Sym|
|000026a0| 62 6f 6c 22 2c 20 22 31 | 30 22 29 20 3d 20 46 41 |bol", "1|0") = FA|
|000026b0| 4c 53 45 20 c2 0d 6f 72 | 20 46 6f 6e 74 45 78 69 |LSE ..or| FontExi|
|000026c0| 73 74 73 58 46 43 4e 28 | 22 53 79 6d 62 6f 6c 22 |stsXFCN(|"Symbol"|
|000026d0| 2c 20 22 31 32 22 29 20 | 3d 20 46 41 4c 53 45 29 |, "12") |= FALSE)|
|000026e0| 20 74 68 65 6e 0d 70 75 | 74 20 22 57 41 52 4e 49 | then.pu|t "WARNI|
|000026f0| 4e 47 22 20 20 69 6e 74 | 6f 20 67 5f 53 79 73 5f |NG" int|o g_Sys_|
|00002700| 41 62 6f 72 74 5f 46 6c | 61 67 20 2d 2d 20 4f 4b |Abort_Fl|ag -- OK|
|00002710| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 0d 70 75 74 | to cont|inue.put|
|00002720| 20 46 41 4c 53 45 20 69 | 6e 74 6f 20 67 5f 46 6f | FALSE i|nto g_Fo|
|00002730| 6e 74 46 4c 41 47 20 2d | 2d 20 4d 49 4e 4f 52 20 |ntFLAG -|- MINOR |
|00002740| 45 52 52 4f 52 0d 65 6e | 64 20 69 66 0d 0d 2d 2d |ERROR.en|d if..--|
|00002750| 20 20 20 20 20 20 20 20 | 52 65 74 75 72 6e 20 66 | |Return f|
|00002760| 72 6f 6d 20 46 75 6e 63 | 74 69 6f 6e 20 77 69 74 |rom Func|tion wit|
|00002770| 68 20 46 6c 61 67 20 3d | 20 54 52 55 45 2f 46 41 |h Flag =| TRUE/FA|
|00002780| 4c 53 45 0d 69 66 20 67 | 5f 45 6e 6f 75 67 68 48 |LSE.if g|_EnoughH|
|00002790| 43 6d 65 6d 46 4c 41 47 | 20 3d 20 46 41 4c 53 45 |CmemFLAG| = FALSE|
|000027a0| 20 c2 0d 6f 72 20 67 5f | 45 6e 6f 75 67 68 50 4d | ..or g_|EnoughPM|
|000027b0| 6d 65 6d 46 4c 41 47 20 | 3d 20 46 41 4c 53 45 20 |memFLAG |= FALSE |
|000027c0| c2 0d 6f 72 20 67 5f 46 | 6f 6e 74 46 4c 41 47 20 |..or g_F|ontFLAG |
|000027d0| 3d 20 46 41 4c 53 45 20 | 74 68 65 6e 0d 72 65 74 |= FALSE |then.ret|
|000027e0| 75 72 6e 20 28 46 41 4c | 53 45 29 0d 65 6c 73 65 |urn (FAL|SE).else|
|000027f0| 20 20 72 65 74 75 72 6e | 20 28 54 52 55 45 29 0d | return| (TRUE).|
|00002800| 0d 65 6e 64 20 68 47 65 | 74 53 79 73 74 65 6d 49 |.end hGe|tSystemI|
|00002810| 6e 66 6f 0d 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |nfo.....|........|
|00002820| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00002830| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 0d 0d 6f |........|.......o|
|00002840| 6e 20 68 53 74 61 72 74 | 75 70 45 72 72 6f 72 0d |n hStart|upError.|
|00002850| 47 6c 6f 62 61 6c 20 67 | 5f 53 79 73 5f 41 62 6f |Global g|_Sys_Abo|
|00002860| 72 74 5f 46 6c 61 67 0d | 0d 47 6c 6f 62 61 6c 20 |rt_Flag.|.Global |
|00002870| 67 5f 53 79 73 56 65 72 | 73 46 4c 41 47 2c 20 67 |g_SysVer|sFLAG, g|
|00002880| 5f 46 6f 6e 74 46 4c 41 | 47 2c 20 67 5f 43 6f 6c |_FontFLA|G, g_Col|
|00002890| 6f 72 46 4c 41 47 0d 47 | 6c 6f 62 61 6c 20 67 5f |orFLAG.G|lobal g_|
|000028a0| 43 75 72 72 65 6e 74 48 | 79 70 65 72 43 61 72 64 |CurrentH|yperCard|
|000028b0| 46 4c 41 47 2c 20 67 5f | 43 75 72 72 65 6e 74 50 |FLAG, g_|CurrentP|
|000028c0| 61 67 65 4d 61 6b 65 72 | 46 4c 41 47 0d 47 6c 6f |ageMaker|FLAG.Glo|
|000028d0| 62 61 6c 20 67 5f 45 6e | 6f 75 67 68 48 43 6d 65 |bal g_En|oughHCme|
|000028e0| 6d 46 4c 41 47 2c 20 67 | 5f 45 6e 6f 75 67 68 50 |mFLAG, g|_EnoughP|
|000028f0| 4d 6d 65 6d 46 4c 41 47 | 0d 47 6c 6f 62 61 6c 20 |MmemFLAG|.Global |
|00002900| 67 5f 54 6f 74 52 41 4d | 2c 20 20 67 5f 54 6f 74 |g_TotRAM|, g_Tot|
|00002910| 52 41 4d 4c 65 66 74 2c | 20 67 5f 54 6f 74 48 65 |RAMLeft,| g_TotHe|
|00002920| 61 70 4c 65 66 74 0d 0d | 70 75 74 20 45 4d 50 54 |apLeft..|put EMPT|
|00002930| 59 20 69 6e 74 6f 20 65 | 72 72 53 74 72 69 6e 67 |Y into e|rrString|
|00002940| 0d 0d 69 66 20 67 5f 53 | 79 73 56 65 72 73 46 4c |..if g_S|ysVersFL|
|00002950| 41 47 20 3d 20 46 41 4c | 53 45 20 74 68 65 6e 0d |AG = FAL|SE then.|
|00002960| 62 65 65 70 0d 70 75 74 | 20 22 54 68 65 20 4d 65 |beep.put| "The Me|
|00002970| 64 69 61 20 54 6f 6f 6c | 4b 69 74 20 72 65 71 75 |dia Tool|Kit requ|
|00002980| 69 72 65 73 20 53 79 73 | 74 65 6d 20 37 2e 22 20 |ires Sys|tem 7." |
|00002990| c2 0d 26 20 52 45 54 55 | 52 4e 20 26 20 22 43 6c |..& RETU|RN & "Cl|
|000029a0| 69 63 6b 69 6e 67 20 74 | 68 65 20 4f 4b 20 62 75 |icking t|he OK bu|
|000029b0| 74 74 6f 6e 20 77 69 6c | 6c 20 51 75 69 74 20 41 |tton wil|l Quit A|
|000029c0| 4d 54 4b 2e 22 c2 0d 69 | 6e 74 6f 20 65 72 72 53 |MTK."..i|nto errS|
|000029d0| 74 72 69 6e 67 0d 70 75 | 74 20 54 52 55 45 20 69 |tring.pu|t TRUE i|
|000029e0| 6e 74 6f 20 67 5f 53 79 | 73 5f 41 62 6f 72 74 5f |nto g_Sy|s_Abort_|
|000029f0| 46 6c 61 67 20 2d 2d 20 | 41 62 6f 72 74 20 61 74 |Flag -- |Abort at|
|00002a00| 20 31 73 74 20 6f 70 70 | 6f 72 74 75 6e 69 74 79 | 1st opp|ortunity|
|00002a10| 0d 68 44 6f 45 72 72 6f | 72 4d 65 73 73 61 67 65 |.hDoErro|rMessage|
|00002a20| 20 65 72 72 53 74 72 69 | 6e 67 0d 64 6f 52 65 61 | errStri|ng.doRea|
|00002a30| 6c 51 75 69 74 0d 45 58 | 49 54 20 74 6f 20 48 79 |lQuit.EX|IT to Hy|
|00002a40| 70 65 72 43 61 72 64 0d | 45 58 49 54 20 68 53 74 |perCard.|EXIT hSt|
|00002a50| 61 72 74 75 70 45 72 72 | 6f 72 0d 65 6e 64 20 69 |artupErr|or.end i|
|00002a60| 66 0d 0d 69 66 20 67 5f | 43 6f 6c 6f 72 46 4c 41 |f..if g_|ColorFLA|
|00002a70| 47 20 3d 20 46 41 4c 53 | 45 20 74 68 65 6e 0d 62 |G = FALS|E then.b|
|00002a80| 65 65 70 0d 70 75 74 20 | 22 54 68 65 20 4d 65 64 |eep.put |"The Med|
|00002a90| 69 61 20 54 6f 6f 6c 4b | 69 74 20 72 65 71 75 69 |ia ToolK|it requi|
|00002aa0| 72 65 73 20 61 74 20 6c | 65 61 73 74 20 61 20 31 |res at l|east a 1|
|00002ab0| 33 20 69 6e 63 68 20 63 | 6f 6c 6f 72 20 6d 6f 6e |3 inch c|olor mon|
|00002ac0| 69 74 6f 72 2e 22 20 c2 | 0d 26 20 52 45 54 55 52 |itor." .|.& RETUR|
|00002ad0| 4e 20 26 20 22 43 6c 69 | 63 6b 69 6e 67 20 74 68 |N & "Cli|cking th|
|00002ae0| 65 20 4f 4b 20 62 75 74 | 74 6f 6e 20 77 69 6c 6c |e OK but|ton will|
|00002af0| 20 51 75 69 74 20 41 4d | 54 4b 2e 22 c2 0d 69 6e | Quit AM|TK."..in|
|00002b00| 74 6f 20 65 72 72 53 74 | 72 69 6e 67 0d 70 75 74 |to errSt|ring.put|
|00002b10| 20 54 52 55 45 20 69 6e | 74 6f 20 67 5f 53 79 73 | TRUE in|to g_Sys|
|00002b20| 5f 41 62 6f 72 74 5f 46 | 6c 61 67 20 2d 2d 20 41 |_Abort_F|lag -- A|
|00002b30| 62 6f 72 74 20 61 74 20 | 31 73 74 20 6f 70 70 6f |bort at |1st oppo|
|00002b40| 72 74 75 6e 69 74 79 0d | 68 44 6f 45 72 72 6f 72 |rtunity.|hDoError|
|00002b50| 4d 65 73 73 61 67 65 20 | 65 72 72 53 74 72 69 6e |Message |errStrin|
|00002b60| 67 0d 64 6f 52 65 61 6c | 51 75 69 74 0d 45 58 49 |g.doReal|Quit.EXI|
|00002b70| 54 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 45 |T to Hyp|erCard.E|
|00002b80| 58 49 54 20 68 53 74 61 | 72 74 75 70 45 72 72 6f |XIT hSta|rtupErro|
|00002b90| 72 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 67 5f 43 |r.end if|..if g_C|
|00002ba0| 75 72 72 65 6e 74 48 79 | 70 65 72 43 61 72 64 46 |urrentHy|perCardF|
|00002bb0| 4c 41 47 20 3d 20 46 41 | 4c 53 45 20 74 68 65 6e |LAG = FA|LSE then|
|00002bc0| 0d 62 65 65 70 0d 70 75 | 74 20 22 54 68 65 20 4d |.beep.pu|t "The M|
|00002bd0| 65 64 69 61 20 54 6f 6f | 6c 4b 69 74 20 72 65 71 |edia Too|lKit req|
|00002be0| 75 69 72 65 73 20 48 79 | 70 65 72 43 61 72 64 20 |uires Hy|perCard |
|00002bf0| 32 2e 31 22 20 c2 0d 26 | 20 52 45 54 55 52 4e 20 |2.1" ..&| RETURN |
|00002c00| 26 20 22 43 6c 69 63 6b | 69 6e 67 20 74 68 65 20 |& "Click|ing the |
|00002c10| 4f 4b 20 62 75 74 74 6f | 6e 20 77 69 6c 6c 20 51 |OK butto|n will Q|
|00002c20| 75 69 74 20 41 4d 54 4b | 2e 22 c2 0d 69 6e 74 6f |uit AMTK|."..into|
|00002c30| 20 65 72 72 53 74 72 69 | 6e 67 0d 70 75 74 20 54 | errStri|ng.put T|
|00002c40| 52 55 45 20 69 6e 74 6f | 20 67 5f 53 79 73 5f 41 |RUE into| g_Sys_A|
|00002c50| 62 6f 72 74 5f 46 6c 61 | 67 20 2d 2d 20 41 62 6f |bort_Fla|g -- Abo|
|00002c60| 72 74 20 61 74 20 31 73 | 74 20 6f 70 70 6f 72 74 |rt at 1s|t opport|
|00002c70| 75 6e 69 74 79 0d 68 44 | 6f 45 72 72 6f 72 4d 65 |unity.hD|oErrorMe|
|00002c80| 73 73 61 67 65 20 65 72 | 72 53 74 72 69 6e 67 0d |ssage er|rString.|
|00002c90| 64 6f 52 65 61 6c 51 75 | 69 74 0d 45 58 49 54 20 |doRealQu|it.EXIT |
|00002ca0| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 45 58 49 |to Hyper|Card.EXI|
|00002cb0| 54 20 68 53 74 61 72 74 | 75 70 45 72 72 6f 72 0d |T hStart|upError.|
|00002cc0| 65 6e 64 20 69 66 0d 0d | 69 66 20 67 5f 45 6e 6f |end if..|if g_Eno|
|00002cd0| 75 67 68 48 43 6d 65 6d | 46 4c 41 47 20 3d 20 46 |ughHCmem|FLAG = F|
|00002ce0| 41 4c 53 45 20 74 68 65 | 6e 0d 62 65 65 70 0d 70 |ALSE the|n.beep.p|
|00002cf0| 75 74 20 22 48 79 70 65 | 72 43 61 72 64 20 72 65 |ut "Hype|rCard re|
|00002d00| 71 75 69 72 65 73 20 6d | 6f 72 65 20 6d 65 6d 6f |quires m|ore memo|
|00002d10| 72 79 20 74 6f 20 72 75 | 6e 20 74 68 65 20 63 6f |ry to ru|n the co|
|00002d20| 6c 6f 72 20 41 4d 54 4b | 20 69 6e 74 65 72 66 61 |lor AMTK| interfa|
|00002d30| 63 65 2e 22 20 c2 0d 26 | 20 52 45 54 55 52 4e 20 |ce." ..&| RETURN |
|00002d40| 26 20 22 43 6c 69 63 6b | 69 6e 67 20 74 68 65 20 |& "Click|ing the |
|00002d50| 4f 4b 20 62 75 74 74 6f | 6e 20 77 69 6c 6c 20 51 |OK butto|n will Q|
|00002d60| 75 69 74 20 41 4d 54 4b | 2e 22 c2 0d 69 6e 74 6f |uit AMTK|."..into|
|00002d70| 20 65 72 72 53 74 72 69 | 6e 67 0d 70 75 74 20 54 | errStri|ng.put T|
|00002d80| 52 55 45 20 69 6e 74 6f | 20 67 5f 53 79 73 5f 41 |RUE into| g_Sys_A|
|00002d90| 62 6f 72 74 5f 46 6c 61 | 67 20 2d 2d 20 41 62 6f |bort_Fla|g -- Abo|
|00002da0| 72 74 20 61 74 20 31 73 | 74 20 6f 70 70 6f 72 74 |rt at 1s|t opport|
|00002db0| 75 6e 69 74 79 0d 68 44 | 6f 45 72 72 6f 72 4d 65 |unity.hD|oErrorMe|
|00002dc0| 73 73 61 67 65 20 65 72 | 72 53 74 72 69 6e 67 0d |ssage er|rString.|
|00002dd0| 64 6f 52 65 61 6c 51 75 | 69 74 0d 45 58 49 54 20 |doRealQu|it.EXIT |
|00002de0| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 45 58 49 |to Hyper|Card.EXI|
|00002df0| 54 20 68 53 74 61 72 74 | 75 70 45 72 72 6f 72 0d |T hStart|upError.|
|00002e00| 65 6e 64 20 69 66 0d 0d | 69 66 20 67 5f 43 75 72 |end if..|if g_Cur|
|00002e10| 72 65 6e 74 50 61 67 65 | 4d 61 6b 65 72 46 4c 41 |rentPage|MakerFLA|
|00002e20| 47 20 3d 20 46 41 4c 53 | 45 20 74 68 65 6e 0d 70 |G = FALS|E then.p|
|00002e30| 75 74 20 22 54 68 65 20 | 4d 65 64 69 61 20 54 6f |ut "The |Media To|
|00002e40| 6f 6c 4b 69 74 20 72 65 | 71 75 69 72 65 73 20 50 |olKit re|quires P|
|00002e50| 61 67 65 4d 61 6b 65 72 | 20 34 2e 32 2e 20 22 20 |ageMaker| 4.2. " |
|00002e60| c2 0d 26 20 22 59 6f 75 | 20 63 61 6e 20 75 73 65 |..& "You| can use|
|00002e70| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 2c 20 | the int|erface, |
|00002e80| 62 75 74 20 79 6f 75 20 | 63 61 6e 20 6e 6f 74 20 |but you |can not |
|00002e90| 6f 70 65 6e 20 74 68 65 | 20 50 61 67 65 4d 61 6b |open the| PageMak|
|00002ea0| 65 72 20 6d 61 74 65 72 | 69 61 6c 73 20 66 72 6f |er mater|ials fro|
|00002eb0| 6d 20 77 69 74 68 69 6e | 20 41 4d 54 4b 2e 22 c2 |m within| AMTK.".|
|00002ec0| 0d 69 6e 74 6f 20 65 72 | 72 53 74 72 69 6e 67 0d |.into er|rString.|
|00002ed0| 68 44 6f 45 72 72 6f 72 | 4d 65 73 73 61 67 65 20 |hDoError|Message |
|00002ee0| 65 72 72 53 74 72 69 6e | 67 0d 45 58 49 54 20 68 |errStrin|g.EXIT h|
|00002ef0| 53 74 61 72 74 75 70 45 | 72 72 6f 72 0d 65 6e 64 |StartupE|rror.end|
|00002f00| 20 69 66 0d 0d 69 66 20 | 67 5f 45 6e 6f 75 67 68 | if..if |g_Enough|
|00002f10| 50 4d 6d 65 6d 46 4c 41 | 47 20 3d 20 46 41 4c 53 |PMmemFLA|G = FALS|
|00002f20| 45 20 74 68 65 6e 0d 70 | 75 74 20 22 54 68 65 72 |E then.p|ut "Ther|
|00002f30| 65 20 69 73 20 6e 6f 74 | 20 65 6e 6f 75 67 68 20 |e is not| enough |
|00002f40| 6d 65 6d 6f 72 79 20 74 | 6f 20 72 75 6e 20 62 6f |memory t|o run bo|
|00002f50| 74 68 20 48 79 70 65 72 | 43 61 72 64 20 61 6e 64 |th Hyper|Card and|
|00002f60| 20 50 61 67 65 4d 61 6b | 65 72 20 61 74 20 74 68 | PageMak|er at th|
|00002f70| 65 20 73 61 6d 65 20 74 | 69 6d 65 2e 20 22 20 c2 |e same t|ime. " .|
|00002f80| 0d 26 20 22 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |.& "You |can use |
|00002f90| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 2c 20 62 |the inte|rface, b|
|00002fa0| 75 74 20 79 6f 75 20 63 | 61 6e 6e 6f 74 20 6f 70 |ut you c|annot op|
|00002fb0| 65 6e 20 74 68 65 20 50 | 61 67 65 4d 61 6b 65 72 |en the P|ageMaker|
|00002fc0| 20 6d 61 74 65 72 69 61 | 6c 73 20 66 72 6f 6d 20 | materia|ls from |
|00002fd0| 77 69 74 68 69 6e 20 41 | 4d 54 4b 2e 22 c2 0d 69 |within A|MTK."..i|
|00002fe0| 6e 74 6f 20 65 72 72 53 | 74 72 69 6e 67 0d 68 44 |nto errS|tring.hD|
|00002ff0| 6f 45 72 72 6f 72 4d 65 | 73 73 61 67 65 20 65 72 |oErrorMe|ssage er|
|00003000| 72 53 74 72 69 6e 67 0d | 45 58 49 54 20 68 53 74 |rString.|EXIT hSt|
|00003010| 61 72 74 75 70 45 72 72 | 6f 72 0d 65 6e 64 20 69 |artupErr|or.end i|
|00003020| 66 0d 0d 69 66 20 67 5f | 46 6f 6e 74 46 4c 41 47 |f..if g_|FontFLAG|
|00003030| 20 3d 20 46 41 4c 53 45 | 20 74 68 65 6e 0d 70 75 | = FALSE| then.pu|
|00003040| 74 20 22 41 4d 54 4b 20 | 75 73 65 73 20 74 68 65 |t "AMTK |uses the|
|00003050| 20 41 70 70 6c 65 20 47 | 61 72 61 6d 6f 6e 64 2c | Apple G|aramond,|
|00003060| 20 48 65 6c 76 65 74 69 | 63 61 20 61 6e 64 20 53 | Helveti|ca and S|
|00003070| 79 6d 62 6f 6c 20 66 6f | 6e 74 73 2e 20 22 20 c2 |ymbol fo|nts. " .|
|00003080| 0d 26 20 22 59 6f 75 20 | 6d 75 73 74 20 69 6e 73 |.& "You |must ins|
|00003090| 74 61 6c 6c 20 74 68 65 | 73 65 20 66 6f 6e 74 73 |tall the|se fonts|
|000030a0| 20 62 65 66 6f 72 65 20 | 70 72 69 6e 74 69 6e 67 | before |printing|
|000030b0| 20 74 68 65 20 50 61 67 | 65 4d 61 6b 65 72 20 6d | the Pag|eMaker m|
|000030c0| 61 74 65 72 69 61 6c 73 | 2e 22 c2 0d 69 6e 74 6f |aterials|."..into|
|000030d0| 20 65 72 72 53 74 72 69 | 6e 67 0d 68 44 6f 45 72 | errStri|ng.hDoEr|
|000030e0| 72 6f 72 4d 65 73 73 61 | 67 65 20 65 72 72 53 74 |rorMessa|ge errSt|
|000030f0| 72 69 6e 67 0d 45 58 49 | 54 20 68 53 74 61 72 74 |ring.EXI|T hStart|
|00003100| 75 70 45 72 72 6f 72 0d | 65 6e 64 20 69 66 0d 0d |upError.|end if..|
|00003110| 65 6e 64 20 68 53 74 61 | 72 74 75 70 45 72 72 6f |end hSta|rtupErro|
|00003120| 72 0d 0d b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |r.......|........|
|00003130| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003140| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 0d 0d 0d 6f 6e 20 |........|.....on |
|00003150| 68 44 6f 45 72 72 6f 72 | 4d 65 73 73 61 67 65 20 |hDoError|Message |
|00003160| 65 72 72 53 74 72 69 6e | 67 0d 47 6c 6f 62 61 6c |errStrin|g.Global|
|00003170| 20 67 5f 53 79 73 5f 41 | 62 6f 72 74 5f 46 6c 61 | g_Sys_A|bort_Fla|
|00003180| 67 0d 70 75 74 20 22 46 | 6f 72 20 6d 6f 72 65 20 |g.put "F|or more |
|00003190| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 22 20 c2 |informat|ion, " .|
|000031a0| 0d 26 20 22 73 65 65 20 | 74 68 65 20 52 65 61 64 |.& "see |the Read|
|000031b0| 20 4d 65 20 66 69 6c 65 | 20 69 6e 20 74 68 65 20 | Me file| in the |
|000031c0| 47 65 74 74 69 6e 67 20 | 53 74 61 72 74 65 64 20 |Getting |Started |
|000031d0| 66 6f 6c 64 65 72 2e 22 | 20 69 6e 74 6f 20 74 6d |folder."| into tm|
|000031e0| 70 0d 61 6e 73 77 65 72 | 20 65 72 72 53 74 72 69 |p.answer| errStri|
|000031f0| 6e 67 20 26 20 52 45 54 | 55 52 4e 20 26 20 52 45 |ng & RET|URN & RE|
|00003200| 54 55 52 4e 20 26 20 74 | 6d 70 20 26 20 52 45 54 |TURN & t|mp & RET|
|00003210| 55 52 4e 20 26 20 52 45 | 54 55 52 4e 0d 0d 2d 2d |URN & RE|TURN..--|
|00003220| 77 69 74 68 20 22 6d 6f | 72 65 c9 22 20 6f 72 20 |with "mo|re." or |
|00003230| 22 4f 4b 22 0d 2d 2d 69 | 66 20 69 74 20 3d 20 22 |"OK".--i|f it = "|
|00003240| 4f 4b 22 20 74 68 65 6e | 0d 69 66 20 67 5f 53 79 |OK" then|.if g_Sy|
|00003250| 73 5f 41 62 6f 72 74 5f | 46 6c 61 67 20 3d 20 54 |s_Abort_|Flag = T|
|00003260| 52 55 45 20 74 68 65 6e | 20 64 6f 52 65 61 6c 51 |RUE then| doRealQ|
|00003270| 75 69 74 20 2d 2d 20 45 | 58 49 54 0d 69 66 20 67 |uit -- E|XIT.if g|
|00003280| 5f 53 79 73 5f 41 62 6f | 72 74 5f 46 6c 61 67 20 |_Sys_Abo|rt_Flag |
|00003290| 3d 20 22 57 61 72 6e 69 | 6e 67 22 20 74 68 65 6e |= "Warni|ng" then|
|000032a0| 20 70 75 74 20 45 4d 50 | 54 59 20 69 6e 74 6f 20 | put EMP|TY into |
|000032b0| 67 5f 53 79 73 5f 41 62 | 6f 72 74 5f 46 6c 61 67 |g_Sys_Ab|ort_Flag|
|000032c0| 0d 45 58 49 54 20 68 44 | 6f 45 72 72 6f 72 4d 65 |.EXIT hD|oErrorMe|
|000032d0| 73 73 61 67 65 0d 2d 2d | 20 65 6e 64 20 69 66 0d |ssage.--| end if.|
|000032e0| 2d 2d 20 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |-- -- | |
|000032f0| 20 20 20 20 20 20 20 20 | 53 48 4f 57 20 d2 4d 4f | |SHOW .MO|
|00003300| 52 45 d3 20 46 49 45 4c | 44 0d 2d 2d 20 63 6f 6c |RE. FIEL|D.-- col|
|00003310| 6f 72 69 7a 65 48 43 20 | 22 64 69 73 70 6f 73 65 |orizeHC |"dispose|
|00003320| 22 20 2d 2d 20 6d 61 6b | 65 20 73 75 72 65 20 73 |" -- mak|e sure s|
|00003330| 63 72 65 65 6e 20 69 73 | 20 77 68 69 74 65 0d 0d |creen is| white..|
|00003340| 2d 2d 20 70 75 74 20 43 | 44 20 66 6c 64 20 22 73 |-- put C|D fld "s|
|00003350| 79 73 20 72 65 71 75 69 | 72 65 6d 65 6e 74 73 20 |ys requi|rements |
|00003360| 69 6e 66 6f 22 20 6f 66 | 20 43 44 20 31 20 6f 66 |info" of| CD 1 of|
|00003370| 20 42 47 20 22 4d 69 73 | 63 20 54 65 78 74 20 49 | BG "Mis|c Text I|
|00003380| 6e 66 6f 22 c2 0d 2d 2d | 20 69 6e 74 6f 20 43 44 |nfo"..--| into CD|
|00003390| 20 66 6c 64 20 22 53 79 | 73 74 65 6d 20 54 65 78 | fld "Sy|stem Tex|
|000033a0| 74 22 0d 0d 2d 2d 20 69 | 66 20 67 5f 53 79 73 5f |t"..-- i|f g_Sys_|
|000033b0| 41 62 6f 72 74 5f 46 6c | 61 67 20 69 73 20 4e 4f |Abort_Fl|ag is NO|
|000033c0| 54 20 45 4d 50 54 59 20 | 74 68 65 6e 0d 2d 2d 20 |T EMPTY |then.-- |
|000033d0| 68 69 64 65 20 43 44 20 | 62 74 6e 20 22 77 68 61 |hide CD |btn "wha|
|000033e0| 74 27 73 20 6e 65 77 22 | 0d 2d 2d 20 68 69 64 65 |t's new"|.-- hide|
|000033f0| 20 43 44 20 62 74 6e 20 | 22 70 72 69 6e 74 20 6d | CD btn |"print m|
|00003400| 61 74 65 72 69 61 6c 73 | 22 0d 2d 2d 20 68 69 64 |aterials|".-- hid|
|00003410| 65 20 43 44 20 62 74 6e | 20 22 70 72 6f 64 75 63 |e CD btn| "produc|
|00003420| 74 20 63 6f 6d 70 6f 6e | 65 6e 74 73 22 0d 2d 2d |t compon|ents".--|
|00003430| 20 68 69 64 65 20 43 44 | 20 62 74 6e 20 22 70 68 | hide CD| btn "ph|
|00003440| 6f 74 6f 67 72 61 70 68 | 79 22 0d 2d 2d 20 68 69 |otograph|y".-- hi|
|00003450| 64 65 20 43 44 20 62 74 | 6e 20 22 68 65 6c 70 20 |de CD bt|n "help |
|00003460| 73 79 73 74 65 6d 22 20 | 2d 2d 20 20 20 20 20 44 |system" |-- D|
|00003470| 6f 6e 27 74 20 73 68 6f | 77 20 6d 61 69 6e 20 62 |on't sho|w main b|
|00003480| 75 74 74 6f 6e 73 0d 2d | 2d 20 65 6e 64 20 69 66 |uttons.-|- end if|
|00003490| 0d 0d 2d 2d 20 73 68 6f | 77 20 43 44 20 66 6c 64 |..-- sho|w CD fld|
|000034a0| 20 22 53 79 73 74 65 6d | 20 54 65 78 74 22 0d 2d | "System| Text".-|
|000034b0| 2d 20 73 68 6f 77 20 43 | 44 20 62 74 6e 20 22 43 |- show C|D btn "C|
|000034c0| 6c 69 63 6b 20 74 6f 20 | 43 6f 6e 74 69 6e 75 65 |lick to |Continue|
|000034d0| 22 0d 2d 2d 20 2d 2d 20 | 77 61 69 74 20 75 6e 74 |".-- -- |wait unt|
|000034e0| 69 6c 20 74 68 65 20 6d | 6f 75 73 65 63 6c 69 63 |il the m|ouseclic|
|000034f0| 6b 0d 2d 2d 20 2d 2d 20 | 68 69 64 65 20 43 44 20 |k.-- -- |hide CD |
|00003500| 66 6c 64 20 22 53 79 73 | 74 65 6d 20 54 65 78 74 |fld "Sys|tem Text|
|00003510| 22 0d 2d 2d 20 2d 2d 20 | 68 69 64 65 20 43 44 20 |".-- -- |hide CD |
|00003520| 62 74 6e 20 22 43 6c 69 | 63 6b 20 74 6f 20 43 6f |btn "Cli|ck to Co|
|00003530| 6e 74 69 6e 75 65 22 0d | 0d 2d 2d 20 45 58 49 54 |ntinue".|.-- EXIT|
|00003540| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 65 6e | to Hype|rCard.en|
|00003550| 64 20 68 44 6f 45 72 72 | 6f 72 4d 65 73 73 61 67 |d hDoErr|orMessag|
|00003560| 65 0d 0d b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |e.......|........|
|00003570| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003580| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 0d 0d 6f 6e 20 68 |........|....on h|
|00003590| 47 65 74 43 6f 6c 6f 72 | 4d 6f 64 65 0d 47 6c 6f |GetColor|Mode.Glo|
|000035a0| 62 61 6c 20 67 5f 43 75 | 72 53 63 72 65 65 6e 43 |bal g_Cu|rScreenC|
|000035b0| 6f 6c 6f 72 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |olor.-- | |
|000035c0| 20 20 20 20 20 20 20 20 | 20 20 47 65 74 2f 53 61 | | Get/Sa|
|000035d0| 76 65 20 4d 6f 6e 69 74 | 6f 72 20 64 65 70 74 68 |ve Monit|or depth|
|000035e0| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 44 65 6c |.set the| itemDel|
|000035f0| 69 6d 69 74 65 72 20 74 | 6f 20 22 2c 22 0d 67 65 |imiter t|o ",".ge|
|00003600| 74 20 67 65 74 6d 6f 64 | 65 20 28 29 0d 70 75 74 |t getmod|e ().put|
|00003610| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 6e | line 1 |of it in|
|00003620| 74 6f 20 74 6d 70 0d 2d | 2d 20 52 65 74 75 72 6e |to tmp.-|- Return|
|00003630| 73 20 31 20 6c 69 6e 65 | 20 66 6f 72 20 65 61 63 |s 1 line| for eac|
|00003640| 68 20 6d 6f 6e 69 74 6f | 72 3a 0d 2d 2d 20 20 3c |h monito|r:.-- <|
|00003650| 42 7c 43 3e 2c 3c 31 7c | 32 7c 34 7c 38 7c 33 32 |B|C>,<1||2|4|8|32|
|00003660| 3e 2c 3c 73 63 72 65 65 | 6e 20 6e 62 3e 2c 3c 42 |>,<scree|n nb>,<B|
|00003670| 7c 43 3e 2c 3c 31 7c 32 | 7c 34 7c 38 7c 33 32 3e ||C>,<1|2||4|8|32>|
|00003680| 2c 3c 77 69 64 74 68 3e | 2c 3c 68 65 69 67 68 74 |,<width>|,<height|
|00003690| 3e 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |>.put it|em 1 of |
|000036a0| 74 6d 70 20 69 6e 74 6f | 20 67 5f 43 75 72 53 63 |tmp into| g_CurSc|
|000036b0| 72 65 65 6e 43 6f 6c 6f | 72 20 2d 2d 20 43 6f 6c |reenColo|r -- Col|
|000036c0| 6f 72 0d 67 65 74 20 69 | 74 65 6d 20 32 20 6f 66 |or.get i|tem 2 of|
|000036d0| 20 74 6d 70 20 2d 2d 20 | 46 75 64 67 65 20 69 6e | tmp -- |Fudge in|
|000036e0| 20 33 32 20 62 69 74 20 | 76 61 6c 75 65 20 28 6d | 32 bit |value (m|
|000036f0| 69 73 73 69 6e 67 20 69 | 6e 20 47 65 74 4d 6f 64 |issing i|n GetMod|
|00003700| 65 29 0d 69 66 20 69 74 | 20 3d 20 22 22 20 74 68 |e).if it| = "" th|
|00003710| 65 6e 20 70 75 74 20 33 | 32 20 69 6e 74 6f 20 69 |en put 3|2 into i|
|00003720| 74 0d 70 75 74 20 22 2c | 22 20 26 20 69 74 20 61 |t.put ",|" & it a|
|00003730| 66 74 65 72 20 67 5f 43 | 75 72 53 63 72 65 65 6e |fter g_C|urScreen|
|00003740| 43 6f 6c 6f 72 20 2d 2d | 20 23 20 62 69 74 73 0d |Color --| # bits.|
|00003750| 70 75 74 20 22 2c 22 20 | 26 20 69 74 65 6d 20 35 |put "," |& item 5|
|00003760| 20 6f 66 20 74 6d 70 20 | 61 66 74 65 72 20 67 5f | of tmp |after g_|
|00003770| 43 75 72 53 63 72 65 65 | 6e 43 6f 6c 6f 72 20 2d |CurScree|nColor -|
|00003780| 2d 20 4d 61 78 20 23 20 | 62 69 74 73 0d 2d 2d 20 |- Max # |bits.-- |
|00003790| 52 65 74 75 72 6e 73 20 | 33 20 69 74 65 6d 73 20 |Returns |3 items |
|000037a0| 69 6e 20 67 5f 43 75 72 | 53 63 72 65 65 6e 43 6f |in g_Cur|ScreenCo|
|000037b0| 6c 6f 72 3a 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |lor:.-- | |
|000037c0| 20 20 20 20 20 43 6f 6c | 6f 72 2f 23 20 62 69 74 | Col|or/# bit|
|000037d0| 73 2f 4d 61 78 20 23 20 | 62 69 74 73 0d 2d 2d 20 |s/Max # |bits.-- |
|000037e0| 70 75 74 20 67 5f 43 75 | 72 53 63 72 65 65 6e 43 |put g_Cu|rScreenC|
|000037f0| 6f 6c 6f 72 0d 65 6e 64 | 20 68 47 65 74 43 6f 6c |olor.end| hGetCol|
|00003800| 6f 72 4d 6f 64 65 0d 0d | 6f 6e 20 68 53 65 74 43 |orMode..|on hSetC|
|00003810| 6f 6c 6f 72 4d 6f 64 65 | 20 2d 2d 20 46 6f 72 63 |olorMode| -- Forc|
|00003820| 65 20 43 6f 6c 6f 72 20 | 74 6f 20 38 62 69 74 0d |e Color |to 8bit.|
|00003830| 47 6c 6f 62 61 6c 20 67 | 5f 43 75 72 53 63 72 65 |Global g|_CurScre|
|00003840| 65 6e 43 6f 6c 6f 72 0d | 73 65 74 20 74 68 65 20 |enColor.|set the |
|00003850| 69 74 65 6d 44 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemDeli|miter to|
|00003860| 20 22 2c 22 0d 69 66 20 | 69 74 65 6d 20 32 20 6f | ",".if |item 2 o|
|00003870| 66 20 67 5f 43 75 72 53 | 63 72 65 65 6e 43 6f 6c |f g_CurS|creenCol|
|00003880| 6f 72 20 ad 20 38 20 74 | 68 65 6e 0d 73 65 74 6d |or . 8 t|hen.setm|
|00003890| 6f 64 65 20 22 43 22 2c | 38 20 2d 2d 20 53 77 69 |ode "C",|8 -- Swi|
|000038a0| 74 63 68 20 74 6f 20 38 | 20 62 69 74 20 69 66 20 |tch to 8| bit if |
|000038b0| 6e 6f 74 20 61 6c 72 65 | 61 64 79 0d 65 6e 64 20 |not alre|ady.end |
|000038c0| 69 66 0d 65 6e 64 20 68 | 53 65 74 43 6f 6c 6f 72 |if.end h|SetColor|
|000038d0| 4d 6f 64 65 0d 0d 6f 6e | 20 68 46 6f 72 63 65 43 |Mode..on| hForceC|
|000038e0| 6f 6c 6f 72 4d 6f 64 65 | 20 2d 2d 20 46 6f 72 63 |olorMode| -- Forc|
|000038f0| 65 20 43 6f 6c 6f 72 20 | 74 6f 20 38 62 69 74 0d |e Color |to 8bit.|
|00003900| 73 65 74 20 74 68 65 20 | 69 74 65 6d 44 65 6c 69 |set the |itemDeli|
|00003910| 6d 69 74 65 72 20 74 6f | 20 22 2c 22 0d 2d 2d 20 |miter to| ",".-- |
|00003920| 4e 4f 54 45 3a 20 6d 75 | 73 74 20 62 65 20 73 65 |NOTE: mu|st be se|
|00003930| 74 20 6f 72 20 47 65 74 | 2f 53 65 74 20 6d 6f 64 |t or Get|/Set mod|
|00003940| 65 20 74 72 65 61 74 73 | 20 61 6c 6c 20 37 20 69 |e treats| all 7 i|
|00003950| 74 65 6d 73 20 61 73 20 | 31 20 69 74 65 6d 0d 67 |tems as |1 item.g|
|00003960| 65 74 20 67 65 74 6d 6f | 64 65 20 28 29 0d 70 75 |et getmo|de ().pu|
|00003970| 74 20 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 20 69 |t line 1| of it i|
|00003980| 6e 74 6f 20 74 6d 70 0d | 69 66 20 69 74 65 6d 20 |nto tmp.|if item |
|00003990| 32 20 6f 66 20 74 6d 70 | 20 ad 20 38 20 74 68 65 |2 of tmp| . 8 the|
|000039a0| 6e 0d 73 65 74 6d 6f 64 | 65 20 22 43 22 2c 38 20 |n.setmod|e "C",8 |
|000039b0| 2d 2d 20 53 77 69 74 63 | 68 20 74 6f 20 38 20 62 |-- Switc|h to 8 b|
|000039c0| 69 74 20 69 66 20 6e 6f | 74 20 61 6c 72 65 61 64 |it if no|t alread|
|000039d0| 79 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 68 46 6f |y.end if|.end hFo|
|000039e0| 72 63 65 43 6f 6c 6f 72 | 4d 6f 64 65 0d 0d 6f 6e |rceColor|Mode..on|
|000039f0| 20 68 52 65 73 65 74 43 | 6f 6c 6f 72 4d 6f 64 65 | hResetC|olorMode|
|00003a00| 20 2d 2d 20 52 65 73 65 | 74 20 43 6f 6c 6f 72 20 | -- Rese|t Color |
|00003a10| 74 6f 20 6f 72 69 67 69 | 6e 61 6c 0d 47 6c 6f 62 |to origi|nal.Glob|
|00003a20| 61 6c 20 67 5f 43 75 72 | 53 63 72 65 65 6e 43 6f |al g_Cur|ScreenCo|
|00003a30| 6c 6f 72 0d 73 65 74 20 | 74 68 65 20 69 74 65 6d |lor.set |the item|
|00003a40| 44 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 22 2c 22 |Delimite|r to ","|
|00003a50| 0d 67 65 74 20 69 74 65 | 6d 20 32 20 6f 66 20 67 |.get ite|m 2 of g|
|00003a60| 5f 43 75 72 53 63 72 65 | 65 6e 43 6f 6c 6f 72 0d |_CurScre|enColor.|
|00003a70| 69 66 20 69 74 20 ad 20 | 38 20 74 68 65 6e 20 20 |if it . |8 then |
|00003a80| 2d 2d 20 53 77 69 74 63 | 68 20 62 61 63 6b 20 66 |-- Switc|h back f|
|00003a90| 72 6f 6d 20 38 20 62 69 | 74 20 69 66 20 6e 6f 74 |rom 8 bi|t if not|
|00003aa0| 20 61 6c 72 65 61 64 79 | 0d 73 65 74 6d 6f 64 65 | already|.setmode|
|00003ab0| 20 69 74 65 6d 20 31 20 | 6f 66 20 67 5f 43 75 72 | item 1 |of g_Cur|
|00003ac0| 53 63 72 65 65 6e 43 6f | 6c 6f 72 2c 20 69 74 65 |ScreenCo|lor, ite|
|00003ad0| 6d 20 32 20 6f 66 20 67 | 5f 43 75 72 53 63 72 65 |m 2 of g|_CurScre|
|00003ae0| 65 6e 43 6f 6c 6f 72 0d | 65 6e 64 20 69 66 0d 65 |enColor.|end if.e|
|00003af0| 6e 64 20 68 52 65 73 65 | 74 43 6f 6c 6f 72 4d 6f |nd hRese|tColorMo|
|00003b00| 64 65 0d 0d b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |de......|........|
|00003b10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003b20| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 0d 0d 6f 6e 20 |........|.....on |
|00003b30| 68 46 69 6c 6c 4c 69 73 | 74 73 20 74 49 74 65 6d |hFillLis|ts tItem|
|00003b40| 20 2d 2d 20 46 69 6c 6c | 20 53 65 6c 65 63 74 69 | -- Fill| Selecti|
|00003b50| 6f 6e 20 26 20 49 6e 66 | 6f 20 4c 69 73 74 73 20 |on & Inf|o Lists |
|00003b60| 77 2f 43 6f 6c 6f 72 0d | 47 6c 6f 62 61 6c 20 67 |w/Color.|Global g|
|00003b70| 5f 5f 43 6f 6c 6f 72 4c | 69 73 74 0d 70 75 74 20 |__ColorL|ist.put |
|00003b80| 22 32 35 35 2c 20 32 31 | 37 2c 20 32 31 37 22 20 |"255, 21|7, 217" |
|00003b90| 26 20 52 45 54 55 52 4e | 20 c2 0d 26 20 22 32 35 |& RETURN| ..& "25|
|00003ba0| 35 2c 20 32 35 35 2c 20 | 31 38 30 22 20 26 20 52 |5, 255, |180" & R|
|00003bb0| 45 54 55 52 4e 20 c2 0d | 26 20 22 32 31 37 2c 20 |ETURN ..|& "217, |
|00003bc0| 32 35 35 2c 20 32 31 37 | 22 20 26 20 52 45 54 55 |255, 217|" & RETU|
|00003bd0| 52 4e 20 c2 0d 26 20 22 | 32 31 37 2c 20 32 35 35 |RN ..& "|217, 255|
|00003be0| 2c 20 32 35 35 22 20 26 | 20 52 45 54 55 52 4e 20 |, 255" &| RETURN |
|00003bf0| c2 0d 26 20 22 32 31 37 | 2c 20 32 31 37 2c 20 32 |..& "217|, 217, 2|
|00003c00| 35 35 22 20 26 20 52 45 | 54 55 52 4e 20 c2 0d 26 |55" & RE|TURN ..&|
|00003c10| 20 22 32 35 35 2c 20 32 | 31 37 2c 20 32 35 35 22 | "255, 2|17, 255"|
|00003c20| 20 26 20 52 45 54 55 52 | 4e 20 c2 0d 69 6e 74 6f | & RETUR|N ..into|
|00003c30| 20 67 5f 5f 43 6f 6c 6f | 72 4c 69 73 74 0d 0d 70 | g__Colo|rList..p|
|00003c40| 75 74 20 34 20 69 6e 74 | 6f 20 74 49 74 65 6d 0d |ut 4 int|o tItem.|
|00003c50| 0d 70 75 74 20 20 6c 69 | 6e 65 20 74 49 74 65 6d |.put li|ne tItem|
|00003c60| 20 6f 66 20 67 5f 5f 43 | 6f 6c 6f 72 4c 69 73 74 | of g__C|olorList|
|00003c70| 20 69 6e 74 6f 20 63 75 | 72 43 6f 6c 6f 72 0d 70 | into cu|rColor.p|
|00003c80| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 63 75 72 |ut item |1 of cur|
|00003c90| 43 6f 6c 6f 72 20 2a 20 | 32 35 36 20 69 6e 74 6f |Color * |256 into|
|00003ca0| 20 69 74 65 6d 20 31 20 | 6f 66 20 63 75 72 43 6f | item 1 |of curCo|
|00003cb0| 6c 6f 72 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |lor.put |item 2 o|
|00003cc0| 66 20 63 75 72 43 6f 6c | 6f 72 20 2a 20 32 35 36 |f curCol|or * 256|
|00003cd0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00003ce0| 63 75 72 43 6f 6c 6f 72 | 0d 70 75 74 20 69 74 65 |curColor|.put ite|
|00003cf0| 6d 20 33 20 6f 66 20 63 | 75 72 43 6f 6c 6f 72 20 |m 3 of c|urColor |
|00003d00| 2a 20 32 35 36 20 69 6e | 74 6f 20 69 74 65 6d 20 |* 256 in|to item |
|00003d10| 33 20 6f 66 20 63 75 72 | 43 6f 6c 6f 72 0d 0d 67 |3 of cur|Color..g|
|00003d20| 65 74 20 72 65 63 74 20 | 6f 66 20 42 47 20 66 6c |et rect |of BG fl|
|00003d30| 64 20 22 53 65 6c 65 63 | 74 20 4c 69 73 74 22 0d |d "Selec|t List".|
|00003d40| 73 75 62 74 72 61 63 74 | 20 31 36 20 66 72 6f 6d |subtract| 16 from|
|00003d50| 20 69 74 65 6d 20 33 20 | 6f 66 20 69 74 0d 63 6f | item 3 |of it.co|
|00003d60| 6c 6f 72 69 7a 65 48 43 | 20 22 43 6f 6c 6f 72 46 |lorizeHC| "ColorF|
|00003d70| 69 6c 6c 22 2c 20 69 74 | 2c 20 63 75 72 43 6f 6c |ill", it|, curCol|
|00003d80| 6f 72 0d 63 6f 6c 6f 72 | 69 7a 65 48 43 20 22 43 |or.color|izeHC "C|
|00003d90| 6f 6c 6f 72 46 69 6c 6c | 22 2c 20 72 65 63 74 20 |olorFill|", rect |
|00003da0| 6f 66 20 42 47 20 66 6c | 64 20 22 49 6e 66 6f 20 |of BG fl|d "Info |
|00003db0| 4c 69 73 74 22 2c 20 63 | 75 72 43 6f 6c 6f 72 0d |List", c|urColor.|
|00003dc0| 0d 70 75 74 20 20 6c 69 | 6e 65 20 74 49 74 65 6d |.put li|ne tItem|
|00003dd0| 20 6f 66 20 67 5f 5f 43 | 6f 6c 6f 72 4c 69 73 74 | of g__C|olorList|
|00003de0| 20 69 6e 74 6f 20 63 75 | 72 43 6f 6c 6f 72 0d 70 | into cu|rColor.p|
|00003df0| 75 74 20 34 32 20 69 6e | 74 6f 20 74 6d 70 0d 70 |ut 42 in|to tmp.p|
|00003e00| 75 74 20 28 69 74 65 6d | 20 31 20 6f 66 20 63 75 |ut (item| 1 of cu|
|00003e10| 72 43 6f 6c 6f 72 20 2d | 20 74 6d 70 29 20 2a 20 |rColor -| tmp) * |
|00003e20| 32 35 36 20 69 6e 74 6f | 20 69 74 65 6d 20 31 20 |256 into| item 1 |
|00003e30| 6f 66 20 63 75 72 43 6f | 6c 6f 72 0d 70 75 74 20 |of curCo|lor.put |
|00003e40| 28 69 74 65 6d 20 32 20 | 6f 66 20 63 75 72 43 6f |(item 2 |of curCo|
|00003e50| 6c 6f 72 20 2d 20 74 6d | 70 29 20 2a 20 32 35 36 |lor - tm|p) * 256|
|00003e60| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00003e70| 63 75 72 43 6f 6c 6f 72 | 0d 70 75 74 20 28 69 74 |curColor|.put (it|
|00003e80| 65 6d 20 33 20 6f 66 20 | 63 75 72 43 6f 6c 6f 72 |em 3 of |curColor|
|00003e90| 20 2d 20 74 6d 70 29 20 | 2a 20 32 35 36 20 69 6e | - tmp) |* 256 in|
|00003ea0| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 63 75 72 |to item |3 of cur|
|00003eb0| 43 6f 6c 6f 72 0d 0d 70 | 75 74 20 72 65 63 74 20 |Color..p|ut rect |
|00003ec0| 6f 66 20 42 47 20 66 6c | 64 20 22 53 65 6c 65 63 |of BG fl|d "Selec|
|00003ed0| 74 20 4c 69 73 74 22 20 | 69 6e 74 6f 20 74 6d 70 |t List" |into tmp|
|00003ee0| 0d 67 65 74 20 69 74 65 | 6d 20 33 20 6f 66 20 74 |.get ite|m 3 of t|
|00003ef0| 6d 70 0d 73 75 62 74 72 | 61 63 74 20 31 36 20 66 |mp.subtr|act 16 f|
|00003f00| 72 6f 6d 20 69 74 0d 70 | 75 74 20 69 74 20 69 6e |rom it.p|ut it in|
|00003f10| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 74 6d 70 |to item |1 of tmp|
|00003f20| 0d 63 6f 6c 6f 72 69 7a | 65 48 43 20 22 43 6f 6c |.coloriz|eHC "Col|
|00003f30| 6f 72 46 69 6c 6c 22 2c | 20 74 6d 70 2c 20 63 75 |orFill",| tmp, cu|
|00003f40| 72 43 6f 6c 6f 72 0d 0d | 65 6e 64 20 68 46 69 6c |rColor..|end hFil|
|00003f50| 6c 4c 69 73 74 73 0d 0d | 6f 6e 20 68 46 69 6c 6c |lLists..|on hFill|
|00003f60| 4c 69 73 74 73 50 4d 20 | 20 2d 2d 20 46 69 6c 6c |ListsPM | -- Fill|
|00003f70| 20 53 65 6c 65 63 74 69 | 6f 6e 20 26 20 49 6e 66 | Selecti|on & Inf|
|00003f80| 6f 20 4c 69 73 74 73 20 | 77 2f 43 6f 6c 6f 72 0d |o Lists |w/Color.|
|00003f90| 47 6c 6f 62 61 6c 20 67 | 5f 5f 43 6f 6c 6f 72 4c |Global g|__ColorL|
|00003fa0| 69 73 74 0d 70 75 74 20 | 22 32 35 35 2c 20 32 31 |ist.put |"255, 21|
|00003fb0| 37 2c 20 32 31 37 22 20 | 26 20 52 45 54 55 52 4e |7, 217" |& RETURN|
|00003fc0| 20 c2 0d 26 20 22 32 35 | 35 2c 20 32 35 35 2c 20 | ..& "25|5, 255, |
|00003fd0| 31 38 30 22 20 26 20 52 | 45 54 55 52 4e 20 c2 0d |180" & R|ETURN ..|
|00003fe0| 26 20 22 32 31 37 2c 20 | 32 35 35 2c 20 32 31 37 |& "217, |255, 217|
|00003ff0| 22 20 26 20 52 45 54 55 | 52 4e 20 c2 0d 26 20 22 |" & RETU|RN ..& "|
|00004000| 32 31 37 2c 20 32 35 35 | 2c 20 32 35 35 22 20 26 |217, 255|, 255" &|
|00004010| 20 52 45 54 55 52 4e 20 | c2 0d 26 20 22 32 31 37 | RETURN |..& "217|
|00004020| 2c 20 32 31 37 2c 20 32 | 35 35 22 20 26 20 52 45 |, 217, 2|55" & RE|
|00004030| 54 55 52 4e 20 c2 0d 26 | 20 22 32 35 35 2c 20 32 |TURN ..&| "255, 2|
|00004040| 31 37 2c 20 32 35 35 22 | 20 26 20 52 45 54 55 52 |17, 255"| & RETUR|
|00004050| 4e 20 c2 0d 69 6e 74 6f | 20 67 5f 5f 43 6f 6c 6f |N ..into| g__Colo|
|00004060| 72 4c 69 73 74 0d 0d 70 | 75 74 20 34 20 69 6e 74 |rList..p|ut 4 int|
|00004070| 6f 20 74 49 74 65 6d 0d | 0d 70 75 74 20 20 6c 69 |o tItem.|.put li|
|00004080| 6e 65 20 74 49 74 65 6d | 20 6f 66 20 67 5f 5f 43 |ne tItem| of g__C|
|00004090| 6f 6c 6f 72 4c 69 73 74 | 20 69 6e 74 6f 20 63 75 |olorList| into cu|
|000040a0| 72 43 6f 6c 6f 72 0d 70 | 75 74 20 69 74 65 6d 20 |rColor.p|ut item |
|000040b0| 31 20 6f 66 20 63 75 72 | 43 6f 6c 6f 72 20 2a 20 |1 of cur|Color * |
|000040c0| 32 35 36 20 69 6e 74 6f | 20 69 74 65 6d 20 31 20 |256 into| item 1 |
|000040d0| 6f 66 20 63 75 72 43 6f | 6c 6f 72 0d 70 75 74 20 |of curCo|lor.put |
|000040e0| 69 74 65 6d 20 32 20 6f | 66 20 63 75 72 43 6f 6c |item 2 o|f curCol|
|000040f0| 6f 72 20 2a 20 32 35 36 | 20 69 6e 74 6f 20 69 74 |or * 256| into it|
|00004100| 65 6d 20 32 20 6f 66 20 | 63 75 72 43 6f 6c 6f 72 |em 2 of |curColor|
|00004110| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 63 |.put ite|m 3 of c|
|00004120| 75 72 43 6f 6c 6f 72 20 | 2a 20 32 35 36 20 69 6e |urColor |* 256 in|
|00004130| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 63 75 72 |to item |3 of cur|
|00004140| 43 6f 6c 6f 72 0d 0d 67 | 65 74 20 72 65 63 74 20 |Color..g|et rect |
|00004150| 6f 66 20 42 47 20 66 6c | 64 20 22 53 65 6c 65 63 |of BG fl|d "Selec|
|00004160| 74 20 4c 69 73 74 22 0d | 61 64 64 20 31 20 74 6f |t List".|add 1 to|
|00004170| 20 69 74 65 6d 20 31 20 | 6f 66 20 69 74 0d 61 64 | item 1 |of it.ad|
|00004180| 64 20 31 20 74 6f 20 69 | 74 65 6d 20 32 20 6f 66 |d 1 to i|tem 2 of|
|00004190| 20 69 74 0d 63 6f 6c 6f | 72 69 7a 65 48 43 20 22 | it.colo|rizeHC "|
|000041a0| 43 6f 6c 6f 72 46 69 6c | 6c 22 2c 20 69 74 2c 20 |ColorFil|l", it, |
|000041b0| 63 75 72 43 6f 6c 6f 72 | 0d 63 6f 6c 6f 72 69 7a |curColor|.coloriz|
|000041c0| 65 48 43 20 22 43 6f 6c | 6f 72 46 69 6c 6c 22 2c |eHC "Col|orFill",|
|000041d0| 20 72 65 63 74 20 6f 66 | 20 42 47 20 66 6c 64 20 | rect of| BG fld |
|000041e0| 22 49 6e 66 6f 20 4c 69 | 73 74 22 2c 20 63 75 72 |"Info Li|st", cur|
|000041f0| 43 6f 6c 6f 72 0d 0d 65 | 6e 64 20 68 46 69 6c 6c |Color..e|nd hFill|
|00004200| 4c 69 73 74 73 50 4d 0d | 0d 6f 6e 20 68 45 72 61 |ListsPM.|.on hEra|
|00004210| 73 65 46 69 6c 6c 4c 69 | 73 74 73 0d 63 6f 6c 6f |seFillLi|sts.colo|
|00004220| 72 69 7a 65 48 43 20 22 | 65 72 61 73 65 22 2c 20 |rizeHC "|erase", |
|00004230| 72 65 63 74 20 6f 66 20 | 42 47 20 66 6c 64 20 22 |rect of |BG fld "|
|00004240| 53 65 6c 65 63 74 20 4c | 69 73 74 22 0d 63 6f 6c |Select L|ist".col|
|00004250| 6f 72 69 7a 65 48 43 20 | 22 65 72 61 73 65 22 2c |orizeHC |"erase",|
|00004260| 20 72 65 63 74 20 6f 66 | 20 42 47 20 66 6c 64 20 | rect of| BG fld |
|00004270| 22 49 6e 66 6f 20 4c 69 | 73 74 22 0d 65 6e 64 20 |"Info Li|st".end |
|00004280| 68 45 72 61 73 65 46 69 | 6c 6c 4c 69 73 74 73 0d |hEraseFi|llLists.|
|00004290| 0d b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000042a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000042b0| b0 b0 b0 b0 b0 b0 b0 b0 | 0d 0d 6f 6e 20 68 53 68 |........|..on hSh|
|000042c0| 6f 77 50 69 63 74 0d 47 | 6c 6f 62 61 6c 20 67 5f |owPict.G|lobal g_|
|000042d0| 50 61 74 68 54 6f 46 69 | 6c 65 2c 20 67 5f 50 61 |PathToFi|le, g_Pa|
|000042e0| 74 68 54 6f 50 49 43 54 | 0d 47 6c 6f 62 61 6c 20 |thToPICT|.Global |
|000042f0| 67 5f 50 61 74 68 54 6f | 47 65 74 49 6e 66 6f 2c |g_PathTo|GetInfo,|
|00004300| 20 67 5f 50 61 74 68 54 | 6f 42 6f 64 79 43 6f 70 | g_PathT|oBodyCop|
|00004310| 79 0d 47 6c 6f 62 61 6c | 20 67 5f 53 65 6c 65 63 |y.Global| g_Selec|
|00004320| 74 69 6f 6e 4c 69 73 74 | 2c 20 67 5f 44 61 74 61 |tionList|, g_Data|
|00004330| 53 74 72 75 63 74 75 72 | 65 2c 20 67 5f 41 64 46 |Structur|e, g_AdF|
|00004340| 6c 79 4f 74 68 0d 2d 2d | 47 6c 6f 62 61 6c 20 67 |lyOth.--|Global g|
|00004350| 5f 50 49 43 54 77 69 6e | 64 6f 77 0d 2d 2d 6c 6f |_PICTwin|dow.--lo|
|00004360| 63 6b 20 73 63 72 65 65 | 6e 0d 0d 2d 2d 20 69 66 |ck scree|n..-- if|
|00004370| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00004380| 6f 77 20 67 5f 50 49 43 | 54 77 69 6e 64 6f 77 20 |ow g_PIC|Twindow |
|00004390| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|000043a0| 77 20 67 5f 50 49 43 54 | 77 69 6e 64 6f 77 0d 0d |w g_PICT|window..|
|000043b0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 0d 69 66 20 |lock scr|een..if |
|000043c0| 67 5f 44 61 74 61 53 74 | 72 75 63 74 75 72 65 20 |g_DataSt|ructure |
|000043d0| 69 73 20 4e 4f 54 20 45 | 4d 50 54 59 20 74 68 65 |is NOT E|MPTY the|
|000043e0| 6e 0d 70 75 74 20 74 6f | 70 6c 65 66 74 20 6f 66 |n.put to|pleft of|
|000043f0| 20 42 47 20 62 74 6e 20 | 22 50 49 43 54 20 66 72 | BG btn |"PICT fr|
|00004400| 61 6d 65 22 20 69 6e 74 | 6f 20 74 4c 6f 63 0d 61 |ame" int|o tLoc.a|
|00004410| 64 64 20 33 20 74 6f 20 | 69 74 65 6d 20 31 20 6f |dd 3 to |item 1 o|
|00004420| 66 20 74 4c 6f 63 0d 61 | 64 64 20 32 20 74 6f 20 |f tLoc.a|dd 2 to |
|00004430| 69 74 65 6d 20 32 20 6f | 66 20 74 4c 6f 63 0d 70 |item 2 o|f tLoc.p|
|00004440| 75 74 20 22 43 6f 70 79 | 22 20 69 6e 74 6f 20 63 |ut "Copy|" into c|
|00004450| 75 72 4d 6f 64 65 0d 63 | 6f 6c 6f 72 69 7a 65 48 |urMode.c|olorizeH|
|00004460| 43 20 22 61 64 64 22 2c | 67 5f 50 61 74 68 54 6f |C "add",|g_PathTo|
|00004470| 50 49 43 54 2c 20 74 4c | 6f 63 2c 2c 63 75 72 4d |PICT, tL|oc,,curM|
|00004480| 6f 64 65 0d 65 6c 73 65 | 0d 67 65 74 20 52 45 43 |ode.else|.get REC|
|00004490| 54 20 6f 66 20 42 47 20 | 62 74 6e 20 22 50 49 43 |T of BG |btn "PIC|
|000044a0| 54 20 66 72 61 6d 65 22 | 0d 63 6f 6c 6f 72 69 7a |T frame"|.coloriz|
|000044b0| 65 48 43 20 22 45 72 61 | 73 65 22 2c 20 69 74 0d |eHC "Era|se", it.|
|000044c0| 65 6e 64 20 69 66 0d 0d | 75 6e 6c 6f 63 6b 20 73 |end if..|unlock s|
|000044d0| 63 72 65 65 6e 0d 0d 0d | 65 6e 64 20 68 53 68 6f |creen...|end hSho|
|000044e0| 77 50 69 63 74 0d 0d b0 | b0 b0 b0 b0 b0 b0 b0 b0 |wPict...|........|
|000044f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004500| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 0d 0d |........|........|
|00004510| 6f 6e 20 63 6f 6d 6d 61 | 6e 64 6b 65 79 64 6f 77 |on comma|ndkeydow|
|00004520| 6e 20 77 68 61 74 4b 65 | 79 0d 69 66 20 77 68 61 |n whatKe|y.if wha|
|00004530| 74 4b 65 79 20 3d 20 22 | 71 22 20 74 68 65 6e 0d |tKey = "|q" then.|
|00004540| 64 6f 51 75 69 74 0d 65 | 6c 73 65 20 70 61 73 73 |doQuit.e|lse pass|
|00004550| 20 63 6f 6d 6d 61 6e 64 | 6b 65 79 64 6f 77 6e 0d | command|keydown.|
|00004560| 65 6e 64 20 63 6f 6d 6d | 61 6e 64 6b 65 79 64 6f |end comm|andkeydo|
|00004570| 77 6e 0d 0d 0d 0d 6f 6e | 20 64 6f 51 75 69 74 0d |wn....on| doQuit.|
|00004580| 47 6c 6f 62 61 6c 20 67 | 5f 53 79 73 5f 41 62 6f |Global g|_Sys_Abo|
|00004590| 72 74 5f 46 6c 61 67 0d | 6c 6f 63 6b 20 73 63 72 |rt_Flag.|lock scr|
|000045a0| 65 65 6e 0d 67 6f 20 43 | 44 20 31 0d 0d 69 66 20 |een.go C|D 1..if |
|000045b0| 67 5f 53 79 73 5f 41 62 | 6f 72 74 5f 46 6c 61 67 |g_Sys_Ab|ort_Flag|
|000045c0| 20 3d 20 54 52 55 45 20 | 74 68 65 6e 20 2d 2d 20 | = TRUE |then -- |
|000045d0| 77 65 27 76 65 20 72 65 | 63 75 72 73 65 64 20 69 |we've re|cursed i|
|000045e0| 6e 74 6f 20 74 68 69 73 | 20 68 61 6e 64 6c 65 72 |nto this| handler|
|000045f0| 20 2d 20 45 58 49 54 0d | 64 6f 52 65 61 6c 51 75 | - EXIT.|doRealQu|
|00004600| 69 74 0d 65 78 69 74 20 | 64 6f 51 75 69 74 0d 65 |it.exit |doQuit.e|
|00004610| 6e 64 20 69 66 0d 2d 2d | 20 20 20 20 20 46 61 6c |nd if.--| Fal|
|00004620| 6c 20 69 66 20 46 6c 61 | 67 20 69 73 20 45 4d 50 |l if Fla|g is EMP|
|00004630| 54 59 20 6f 72 20 22 57 | 41 52 4e 49 4e 47 22 0d |TY or "W|ARNING".|
|00004640| 63 6f 6c 6f 72 69 7a 65 | 48 43 20 22 64 69 73 70 |colorize|HC "disp|
|00004650| 6f 73 65 22 0d 0d 70 75 | 74 20 54 52 55 45 20 69 |ose"..pu|t TRUE i|
|00004660| 6e 74 6f 20 67 5f 53 79 | 73 5f 41 62 6f 72 74 5f |nto g_Sy|s_Abort_|
|00004670| 46 6c 61 67 20 2d 2d 20 | 53 65 74 20 66 6c 61 67 |Flag -- |Set flag|
|00004680| 20 74 6f 20 41 62 6f 72 | 74 20 6c 61 74 65 72 0d | to Abor|t later.|
|00004690| 0d 2d 2d 20 44 69 73 70 | 6c 61 79 20 43 6f 70 79 |.-- Disp|lay Copy|
|000046a0| 52 69 67 68 74 2f 54 72 | 61 64 65 4d 61 72 6b 20 |Right/Tr|adeMark |
|000046b0| 49 6e 66 6f 0d 0d 68 69 | 64 65 20 43 44 20 62 74 |Info..hi|de CD bt|
|000046c0| 6e 20 22 77 68 61 74 27 | 73 20 6e 65 77 22 0d 68 |n "what'|s new".h|
|000046d0| 69 64 65 20 43 44 20 62 | 74 6e 20 22 70 72 69 6e |ide CD b|tn "prin|
|000046e0| 74 20 6d 61 74 65 72 69 | 61 6c 73 22 0d 68 69 64 |t materi|als".hid|
|000046f0| 65 20 43 44 20 62 74 6e | 20 22 70 72 6f 64 75 63 |e CD btn| "produc|
|00004700| 74 20 63 6f 6d 70 6f 6e | 65 6e 74 73 22 0d 68 69 |t compon|ents".hi|
|00004710| 64 65 20 43 44 20 62 74 | 6e 20 22 70 68 6f 74 6f |de CD bt|n "photo|
|00004720| 67 72 61 70 68 79 22 0d | 68 69 64 65 20 43 44 20 |graphy".|hide CD |
|00004730| 62 74 6e 20 22 68 65 6c | 70 20 73 79 73 74 65 6d |btn "hel|p system|
|00004740| 22 20 2d 2d 20 20 20 20 | 20 44 6f 6e 27 74 20 73 |" -- | Don't s|
|00004750| 68 6f 77 20 6d 61 69 6e | 20 62 75 74 74 6f 6e 73 |how main| buttons|
|00004760| 0d 0d 70 75 74 20 43 44 | 20 66 6c 64 20 22 71 75 |..put CD| fld "qu|
|00004770| 69 74 20 69 6e 66 6f 22 | 20 6f 66 20 43 44 20 31 |it info"| of CD 1|
|00004780| 20 6f 66 20 42 47 20 22 | 4d 69 73 63 20 54 65 78 | of BG "|Misc Tex|
|00004790| 74 20 49 6e 66 6f 22 c2 | 0d 69 6e 74 6f 20 43 44 |t Info".|.into CD|
|000047a0| 20 66 6c 64 20 22 53 79 | 73 74 65 6d 20 54 65 78 | fld "Sy|stem Tex|
|000047b0| 74 22 0d 73 65 74 20 73 | 63 72 6f 6c 6c 20 6f 66 |t".set s|croll of|
|000047c0| 20 43 44 20 66 6c 64 20 | 22 53 79 73 74 65 6d 20 | CD fld |"System |
|000047d0| 54 65 78 74 22 20 74 6f | 20 30 0d 73 68 6f 77 20 |Text" to| 0.show |
|000047e0| 43 44 20 66 6c 64 20 22 | 53 79 73 74 65 6d 20 54 |CD fld "|System T|
|000047f0| 65 78 74 22 0d 73 68 6f | 77 20 43 44 20 62 74 6e |ext".sho|w CD btn|
|00004800| 20 22 43 6c 69 63 6b 20 | 74 6f 20 43 6f 6e 74 69 | "Click |to Conti|
|00004810| 6e 75 65 22 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |nue".unl|ock scre|
|00004820| 65 6e 0d 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |en..exit| to Hype|
|00004830| 72 43 61 72 64 20 2d 2d | 20 41 62 6f 72 74 0d 65 |rCard --| Abort.e|
|00004840| 6e 64 20 64 6f 51 75 69 | 74 0d 0d 0d 6f 6e 20 64 |nd doQui|t...on d|
|00004850| 6f 52 65 61 6c 51 75 69 | 74 0d 67 6f 20 43 44 20 |oRealQui|t.go CD |
|00004860| 31 0d 68 69 64 65 20 43 | 44 20 66 6c 64 20 22 53 |1.hide C|D fld "S|
|00004870| 79 73 74 65 6d 20 54 65 | 78 74 22 0d 68 69 64 65 |ystem Te|xt".hide|
|00004880| 20 43 44 20 62 74 6e 20 | 22 43 6c 69 63 6b 20 74 | CD btn |"Click t|
|00004890| 6f 20 43 6f 6e 74 69 6e | 75 65 22 0d 0d 72 65 73 |o Contin|ue"..res|
|000048a0| 65 74 20 6d 65 6e 75 62 | 61 72 0d 63 6f 6c 6f 72 |et menub|ar.color|
|000048b0| 69 7a 65 48 43 20 22 64 | 69 73 70 6f 73 65 22 0d |izeHC "d|ispose".|
|000048c0| 53 65 6e 64 20 22 64 6f | 4d 65 6e 75 20 51 75 69 |Send "do|Menu Qui|
|000048d0| 74 20 48 79 70 65 72 43 | 61 72 64 22 20 74 6f 20 |t HyperC|ard" to |
|000048e0| 48 79 70 65 72 43 61 72 | 64 0d 65 6e 64 20 64 6f |HyperCar|d.end do|
|000048f0| 52 65 61 6c 51 75 69 74 | 0d 0d 0d 6f 6e 20 64 6f |RealQuit|...on do|
|00004900| 52 65 73 74 61 72 74 46 | 72 6f 6d 45 52 52 4f 52 |RestartF|romERROR|
|00004910| 20 2d 2d 20 63 68 65 63 | 6b 20 74 6f 20 73 65 65 | -- chec|k to see|
|00004920| 20 69 66 20 74 69 6d 65 | 20 74 6f 20 61 62 6f 72 | if time| to abor|
|00004930| 74 0d 47 6c 6f 62 61 6c | 20 67 5f 53 79 73 5f 41 |t.Global| g_Sys_A|
|00004940| 62 6f 72 74 5f 46 6c 61 | 67 0d 69 66 20 67 5f 53 |bort_Fla|g.if g_S|
|00004950| 79 73 5f 41 62 6f 72 74 | 5f 46 6c 61 67 20 3d 20 |ys_Abort|_Flag = |
|00004960| 54 52 55 45 20 74 68 65 | 6e 20 2d 2d 20 77 65 27 |TRUE the|n -- we'|
|00004970| 76 65 20 72 65 63 75 72 | 73 65 64 20 69 6e 74 6f |ve recur|sed into|
|00004980| 20 74 68 69 73 20 68 61 | 6e 64 6c 65 72 20 2d 20 | this ha|ndler - |
|00004990| 45 58 49 54 0d 64 6f 52 | 65 61 6c 51 75 69 74 0d |EXIT.doR|ealQuit.|
|000049a0| 65 78 69 74 20 64 6f 52 | 65 73 74 61 72 74 46 72 |exit doR|estartFr|
|000049b0| 6f 6d 45 52 52 4f 52 0d | 65 6e 64 20 69 66 0d 69 |omERROR.|end if.i|
|000049c0| 66 20 67 5f 53 79 73 5f | 41 62 6f 72 74 5f 46 6c |f g_Sys_|Abort_Fl|
|000049d0| 61 67 20 3d 20 22 57 41 | 52 4e 49 4e 47 22 20 74 |ag = "WA|RNING" t|
|000049e0| 68 65 6e 0d 70 75 74 20 | 45 4d 50 54 59 20 69 6e |hen.put |EMPTY in|
|000049f0| 74 6f 20 67 5f 53 79 73 | 5f 41 62 6f 72 74 5f 46 |to g_Sys|_Abort_F|
|00004a00| 6c 61 67 20 2d 2d 20 72 | 65 73 65 74 20 46 4c 41 |lag -- r|eset FLA|
|00004a10| 47 0d 53 65 6e 64 20 22 | 4f 50 45 4e 43 41 52 44 |G.Send "|OPENCARD|
|00004a20| 22 20 74 6f 20 43 44 20 | 31 20 2d 2d 20 72 65 73 |" to CD |1 -- res|
|00004a30| 74 61 72 74 20 74 68 69 | 73 20 63 61 72 64 0d 65 |tart thi|s card.e|
|00004a40| 6e 64 20 69 66 0d 68 69 | 64 65 20 43 44 20 66 6c |nd if.hi|de CD fl|
|00004a50| 64 20 22 53 79 73 74 65 | 6d 20 54 65 78 74 22 0d |d "Syste|m Text".|
|00004a60| 68 69 64 65 20 43 44 20 | 62 74 6e 20 22 43 6c 69 |hide CD |btn "Cli|
|00004a70| 63 6b 20 74 6f 20 43 6f | 6e 74 69 6e 75 65 22 0d |ck to Co|ntinue".|
|00004a80| 0d 65 6e 64 20 64 6f 52 | 65 73 74 61 72 74 46 72 |.end doR|estartFr|
|00004a90| 6f 6d 45 52 52 4f 52 0d | 0d 0d 0d b0 b0 b0 b0 b0 |omERROR.|........|
|00004aa0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004ab0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004ac0| b0 b0 0d 0d 0d 6f 6e 20 | 64 6f 4c 61 75 6e 63 68 |.....on |doLaunch|
|00004ad0| 50 4d 0d 47 6c 6f 62 61 | 6c 20 67 5f 46 75 6c 6c |PM.Globa|l g_Full|
|00004ae0| 50 61 74 68 54 6f 54 4d | 50 4c 0d 47 6c 6f 62 61 |PathToTM|PL.Globa|
|00004af0| 6c 20 67 5f 50 61 74 68 | 54 6f 50 4d 48 44 0d 0d |l g_Path|ToPMHD..|
|00004b00| 2d 2d 20 52 65 61 64 79 | 20 74 6f 20 4c 61 75 6e |-- Ready| to Laun|
|00004b10| 63 68 20 50 61 67 65 4d | 61 6b 65 72 0d 2d 2d 20 |ch PageM|aker.-- |
|00004b20| 46 4f 52 4d 41 54 3a 20 | 4f 50 45 4e 20 64 6f 63 |FORMAT: |OPEN doc|
|00004b30| 4e 61 6d 65 20 77 69 74 | 68 20 61 70 70 4e 61 6d |Name wit|h appNam|
|00004b40| 65 0d 0d 2d 2d 20 2d 2d | 20 69 66 20 68 46 69 6c |e..-- --| if hFil|
|00004b50| 65 45 78 69 73 74 73 28 | 67 5f 46 75 6c 6c 50 61 |eExists(|g_FullPa|
|00004b60| 74 68 54 6f 54 4d 50 4c | 29 20 69 73 20 54 52 55 |thToTMPL|) is TRU|
|00004b70| 45 20 74 68 65 6e 20 2d | 2d 20 54 45 53 54 20 4f |E then -|- TEST O|
|00004b80| 4e 4c 59 0d 2d 2d 20 2d | 2d 20 70 75 74 20 22 4f |NLY.-- -|- put "O|
|00004b90| 4b 22 0d 2d 2d 20 2d 2d | 20 65 6c 73 65 20 62 65 |K".-- --| else be|
|00004ba0| 65 70 20 32 0d 2d 2d 20 | 2d 2d 20 65 6e 64 20 64 |ep 2.-- |-- end d|
|00004bb0| 6f 4c 61 75 6e 63 68 50 | 4d 0d 0d 6f 70 65 6e 20 |oLaunchP|M..open |
|00004bc0| 67 5f 46 75 6c 6c 50 61 | 74 68 54 6f 54 4d 50 4c |g_FullPa|thToTMPL|
|00004bd0| 20 77 69 74 68 20 67 5f | 50 61 74 68 54 6f 50 4d | with g_|PathToPM|
|00004be0| 48 44 0d 65 6e 64 20 64 | 6f 4c 61 75 6e 63 68 50 |HD.end d|oLaunchP|
|00004bf0| 4d 0d 0d 0d 0d 6f 6e 20 | 47 65 74 50 72 65 66 65 |M....on |GetPrefe|
|00004c00| 72 65 6e 63 65 73 0d 0d | 47 6c 6f 62 61 6c 20 67 |rences..|Global g|
|00004c10| 5f 41 4d 54 4b 53 74 61 | 63 6b 50 61 74 68 2c 20 |_AMTKSta|ckPath, |
|00004c20| 67 5f 53 59 53 46 6f 6c | 64 65 72 2c 20 67 5f 53 |g_SYSFol|der, g_S|
|00004c30| 59 53 56 6f 6c 75 6d 65 | 0d 47 6c 6f 62 61 6c 20 |YSVolume|.Global |
|00004c40| 67 5f 50 72 65 66 46 6f | 6c 64 65 72 2c 20 67 5f |g_PrefFo|lder, g_|
|00004c50| 41 4d 54 4b 50 72 65 66 | 46 6f 6c 64 65 72 2c 20 |AMTKPref|Folder, |
|00004c60| 67 5f 50 72 65 66 46 69 | 6c 65 2c 20 67 5f 43 44 |g_PrefFi|le, g_CD|
|00004c70| 52 4f 4d 6e 61 6d 65 0d | 2d 2d 47 6c 6f 62 61 6c |ROMname.|--Global|
|00004c80| 20 67 5f 50 72 65 66 46 | 69 6c 65 54 65 6d 70 2c | g_PrefF|ileTemp,|
|00004c90| 20 67 5f 50 61 74 68 54 | 6f 50 72 65 66 54 65 6d | g_PathT|oPrefTem|
|00004ca0| 70 0d 47 6c 6f 62 61 6c | 20 67 5f 50 61 74 68 54 |p.Global| g_PathT|
|00004cb0| 6f 50 4d 43 44 2c 20 67 | 5f 50 61 74 68 54 6f 50 |oPMCD, g|_PathToP|
|00004cc0| 4d 48 44 2c 20 67 5f 50 | 61 74 68 54 6f 50 72 65 |MHD, g_P|athToPre|
|00004cd0| 66 0d 47 6c 6f 62 61 6c | 20 67 5f 50 72 65 66 46 |f.Global| g_PrefF|
|00004ce0| 69 6c 65 45 72 72 6f 72 | 0d 0d 2d 2d 20 53 74 61 |ileError|..-- Sta|
|00004cf0| 72 74 0d 0d 70 75 74 20 | 73 79 73 74 65 6d 50 61 |rt..put |systemPa|
|00004d00| 74 68 28 29 20 69 6e 74 | 6f 20 67 5f 53 59 53 46 |th() int|o g_SYSF|
|00004d10| 6f 6c 64 65 72 0d 73 65 | 74 20 74 68 65 20 69 74 |older.se|t the it|
|00004d20| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 22 |emDelimi|ter to "|
|00004d30| 3a 22 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |:".put i|tem 1 of|
|00004d40| 20 67 5f 53 59 53 46 6f | 6c 64 65 72 20 26 20 22 | g_SYSFo|lder & "|
|00004d50| 3a 22 20 69 6e 74 6f 20 | 67 5f 53 59 53 56 6f 6c |:" into |g_SYSVol|
|00004d60| 75 6d 65 20 2d 2d 20 4e | 61 6d 65 20 6f 66 20 53 |ume -- N|ame of S|
|00004d70| 79 73 74 65 6d 20 68 61 | 72 64 20 64 72 69 76 65 |ystem ha|rd drive|
|00004d80| 0d 0d 70 75 74 20 22 50 | 72 65 66 65 72 65 6e 63 |..put "P|referenc|
|00004d90| 65 73 3a 22 20 69 6e 74 | 6f 20 67 5f 50 72 65 66 |es:" int|o g_Pref|
|00004da0| 46 6f 6c 64 65 72 20 2d | 2d 20 20 20 20 20 20 20 |Folder -|- |
|00004db0| 20 20 20 20 20 4e 61 6d | 65 20 6f 66 20 53 79 73 | Nam|e of Sys|
|00004dc0| 74 65 6d 20 37 20 50 72 | 65 66 20 66 6f 6c 64 65 |tem 7 Pr|ef folde|
|00004dd0| 72 0d 70 75 74 20 22 41 | 70 70 6c 65 20 4d 65 64 |r.put "A|pple Med|
|00004de0| 69 61 20 54 6f 6f 6c 4b | 69 74 3a 22 20 69 6e 74 |ia ToolK|it:" int|
|00004df0| 6f 20 67 5f 41 4d 54 4b | 50 72 65 66 46 6f 6c 64 |o g_AMTK|PrefFold|
|00004e00| 65 72 20 2d 2d 20 4e 61 | 6d 65 20 6f 66 20 41 4d |er -- Na|me of AM|
|00004e10| 54 4b 20 66 6f 6c 64 65 | 72 0d 70 75 74 20 22 41 |TK folde|r.put "A|
|00004e20| 4d 54 4b 20 50 72 65 66 | 22 20 69 6e 74 6f 20 67 |MTK Pref|" into g|
|00004e30| 5f 50 72 65 66 46 69 6c | 65 20 2d 2d 20 20 20 20 |_PrefFil|e -- |
|00004e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e50| 20 20 20 20 20 20 20 20 | 20 4e 61 6d 65 20 6f 66 | | Name of|
|00004e60| 20 41 4d 54 4b 20 70 72 | 65 66 20 66 69 6c 65 0d | AMTK pr|ef file.|
|00004e70| 2d 2d 70 75 74 20 22 41 | 4d 54 4b 20 50 72 65 66 |--put "A|MTK Pref|
|00004e80| 2e 74 65 6d 70 22 20 69 | 6e 74 6f 20 67 5f 50 72 |.temp" i|nto g_Pr|
|00004e90| 65 66 46 69 6c 65 54 65 | 6d 70 20 2d 2d 20 6e 6f |efFileTe|mp -- no|
|00004ea0| 74 20 75 73 65 64 0d 0d | 70 75 74 20 69 74 65 6d |t used..|put item|
|00004eb0| 20 31 20 6f 66 20 67 5f | 41 4d 54 4b 53 74 61 63 | 1 of g_|AMTKStac|
|00004ec0| 6b 50 61 74 68 20 69 6e | 74 6f 20 67 5f 43 44 52 |kPath in|to g_CDR|
|00004ed0| 4f 4d 6e 61 6d 65 20 2d | 2d 20 4e 61 6d 65 20 6f |OMname -|- Name o|
|00004ee0| 66 20 41 4d 54 4b 20 43 | 44 2d 52 4f 4d 0d 70 75 |f AMTK C|D-ROM.pu|
|00004ef0| 74 20 67 5f 43 44 52 4f | 4d 6e 61 6d 65 26 22 3a |t g_CDRO|Mname&":|
|00004f00| 47 65 74 74 69 6e 67 20 | 53 74 61 72 74 65 64 3a |Getting |Started:|
|00004f10| 41 6c 64 75 73 20 50 61 | 67 65 4d 61 6b 65 72 20 |Aldus Pa|geMaker |
|00004f20| 34 2e 32 3a 50 61 67 65 | 4d 61 6b 65 72 20 34 2e |4.2:Page|Maker 4.|
|00004f30| 32 22 c2 0d 69 6e 74 6f | 20 67 5f 50 61 74 68 54 |2"..into| g_PathT|
|00004f40| 6f 50 4d 43 44 20 2d 2d | 20 20 20 20 20 20 20 20 |oPMCD --| |
|00004f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 65 66 61 | | Defa|
|00004f60| 75 6c 74 20 50 4d 20 70 | 61 74 68 0d 70 75 74 20 |ult PM p|ath.put |
|00004f70| 67 5f 53 59 53 46 6f 6c | 64 65 72 26 67 5f 50 72 |g_SYSFol|der&g_Pr|
|00004f80| 65 66 46 6f 6c 64 65 72 | 26 67 5f 41 4d 54 4b 50 |efFolder|&g_AMTKP|
|00004f90| 72 65 66 46 6f 6c 64 65 | 72 26 67 5f 50 72 65 66 |refFolde|r&g_Pref|
|00004fa0| 46 69 6c 65 c2 0d 69 6e | 74 6f 20 67 5f 50 61 74 |File..in|to g_Pat|
|00004fb0| 68 54 6f 50 72 65 66 20 | 2d 2d 20 20 20 20 20 20 |hToPref |-- |
|00004fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 50 | | P|
|00004fd0| 61 74 68 20 74 6f 20 50 | 52 45 46 20 46 49 4c 45 |ath to P|REF FILE|
|00004fe0| 0d 2d 2d 20 70 75 74 20 | 67 5f 53 59 53 46 6f 6c |.-- put |g_SYSFol|
|00004ff0| 64 65 72 26 67 5f 50 72 | 65 66 46 6f 6c 64 65 72 |der&g_Pr|efFolder|
|00005000| 26 67 5f 41 4d 54 4b 50 | 72 65 66 46 6f 6c 64 65 |&g_AMTKP|refFolde|
|00005010| 72 26 67 5f 50 72 65 66 | 46 69 6c 65 54 65 6d 70 |r&g_Pref|FileTemp|
|00005020| c2 0d 2d 2d 20 69 6e 74 | 6f 20 67 5f 50 61 74 68 |..-- int|o g_Path|
|00005030| 54 6f 50 72 65 66 54 65 | 6d 70 0d 0d 70 75 74 20 |ToPrefTe|mp..put |
|00005040| 45 4d 50 54 59 20 69 6e | 74 6f 20 67 5f 50 72 65 |EMPTY in|to g_Pre|
|00005050| 66 46 69 6c 65 45 72 72 | 6f 72 0d 70 75 74 20 45 |fFileErr|or.put E|
|00005060| 4d 50 54 59 20 69 6e 74 | 6f 20 67 5f 50 61 74 68 |MPTY int|o g_Path|
|00005070| 54 6f 50 4d 48 44 0d 0d | 69 66 20 68 46 69 6c 65 |ToPMHD..|if hFile|
|00005080| 45 78 69 73 74 73 28 67 | 5f 50 61 74 68 54 6f 50 |Exists(g|_PathToP|
|00005090| 72 65 66 29 20 69 73 20 | 54 52 55 45 20 74 68 65 |ref) is |TRUE the|
|000050a0| 6e 20 2d 2d 20 4c 4f 4f | 4b 20 66 6f 72 20 50 52 |n -- LOO|K for PR|
|000050b0| 45 46 20 46 49 4c 45 0d | 2d 2d 20 50 72 65 66 20 |EF FILE.|-- Pref |
|000050c0| 46 69 6c 65 20 45 58 49 | 53 54 53 20 2d 20 52 65 |File EXI|STS - Re|
|000050d0| 61 64 20 69 74 0d 70 75 | 74 20 52 65 61 64 46 69 |ad it.pu|t ReadFi|
|000050e0| 6c 65 20 28 67 5f 50 61 | 74 68 54 6f 50 72 65 66 |le (g_Pa|thToPref|
|000050f0| 29 20 69 6e 74 6f 20 67 | 5f 50 61 74 68 54 6f 50 |) into g|_PathToP|
|00005100| 4d 48 44 20 2d 2d 20 47 | 65 74 20 50 61 74 68 20 |MHD -- G|et Path |
|00005110| 74 6f 20 50 61 67 65 4d | 61 6b 65 72 0d 69 66 20 |to PageM|aker.if |
|00005120| 68 46 69 6c 65 45 78 69 | 73 74 73 28 67 5f 50 61 |hFileExi|sts(g_Pa|
|00005130| 74 68 54 6f 50 4d 48 44 | 29 20 69 73 20 46 41 4c |thToPMHD|) is FAL|
|00005140| 53 45 20 74 68 65 6e 20 | 2d 2d 20 4c 4f 4f 4b 20 |SE then |-- LOOK |
|00005150| 66 6f 72 20 50 61 67 65 | 4d 61 6b 65 72 0d 68 43 |for Page|Maker.hC|
|00005160| 72 65 61 74 65 50 72 65 | 66 46 69 6c 65 20 2d 2d |reatePre|fFile --|
|00005170| 20 50 4d 20 68 61 73 20 | 6d 6f 76 65 64 20 6f 72 | PM has |moved or|
|00005180| 20 50 72 65 66 20 69 73 | 20 77 72 6f 6e 67 2d 43 | Pref is| wrong-C|
|00005190| 72 65 61 74 65 20 6e 65 | 77 20 50 72 65 66 20 46 |reate ne|w Pref F|
|000051a0| 69 6c 65 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |ile.end |if.else |
|000051b0| 2d 2d 20 4e 6f 20 50 72 | 65 66 20 66 69 6c 65 20 |-- No Pr|ef file |
|000051c0| 66 6f 75 6e 64 20 2d 20 | 43 72 65 61 74 65 20 6e |found - |Create n|
|000051d0| 65 77 20 50 72 65 66 20 | 46 69 6c 65 0d 68 43 72 |ew Pref |File.hCr|
|000051e0| 65 61 74 65 50 72 65 66 | 46 69 6c 65 0d 65 6e 64 |eatePref|File.end|
|000051f0| 20 69 66 0d 0d 65 6e 64 | 20 47 65 74 50 72 65 66 | if..end| GetPref|
|00005200| 65 72 65 6e 63 65 73 0d | 0d 0d 66 75 6e 63 74 69 |erences.|..functi|
|00005210| 6f 6e 20 68 46 69 6c 65 | 45 78 69 73 74 73 20 66 |on hFile|Exists f|
|00005220| 4e 61 6d 65 0d 47 6c 6f | 62 61 6c 20 67 5f 50 72 |Name.Glo|bal g_Pr|
|00005230| 65 66 46 69 6c 65 45 72 | 72 6f 72 0d 2d 2d 20 20 |efFileEr|ror.-- |
|00005240| 70 75 74 20 66 69 6c 65 | 45 78 69 73 74 73 28 66 |put file|Exists(f|
|00005250| 4e 61 6d 65 2c 22 6e 6f | 64 69 61 6c 6f 67 3a 67 |Name,"no|dialog:g|
|00005260| 5f 50 72 65 66 46 69 6c | 65 45 72 72 6f 72 22 29 |_PrefFil|eError")|
|00005270| 20 69 6e 74 6f 20 74 6d | 70 0d 70 75 74 20 49 73 | into tm|p.put Is|
|00005280| 46 69 6c 65 28 66 4e 61 | 6d 65 29 20 69 6e 74 6f |File(fNa|me) into|
|00005290| 20 74 6d 70 0d 69 66 20 | 74 6d 70 20 69 73 20 4e | tmp.if |tmp is N|
|000052a0| 4f 54 20 54 52 55 45 20 | 74 68 65 6e 20 70 75 74 |OT TRUE |then put|
|000052b0| 20 46 41 4c 53 45 20 69 | 6e 74 6f 20 74 6d 70 0d | FALSE i|nto tmp.|
|000052c0| 72 65 74 75 72 6e 20 28 | 74 6d 70 29 2d 2d 20 45 |return (|tmp)-- E|
|000052d0| 58 49 54 20 46 75 6e 63 | 74 69 6f 6e 0d 65 6e 64 |XIT Func|tion.end|
|000052e0| 20 68 46 69 6c 65 45 78 | 69 73 74 73 0d 0d 0d 6f | hFileEx|ists...o|
|000052f0| 6e 20 68 43 72 65 61 74 | 65 50 72 65 66 46 69 6c |n hCreat|ePrefFil|
|00005300| 65 20 20 2d 2d 20 43 72 | 65 61 74 65 20 6e 65 77 |e -- Cr|eate new|
|00005310| 20 50 72 65 66 20 46 69 | 6c 65 0d 2d 2d 20 52 65 | Pref Fi|le.-- Re|
|00005320| 74 75 72 6e 73 20 4e 6f | 74 68 69 6e 67 2e 20 45 |turns No|thing. E|
|00005330| 69 74 68 65 72 20 66 69 | 6e 64 73 20 50 61 74 68 |ither fi|nds Path|
|00005340| 20 74 6f 20 50 4d 20 6f | 6e 20 48 44 20 61 6e 64 | to PM o|n HD and|
|00005350| 20 6d 61 6b 65 73 20 50 | 72 65 66 20 66 69 6c 65 | makes P|ref file|
|00005360| 0d 2d 2d 20 20 20 6f 72 | 20 73 65 74 73 20 50 61 |.-- or| sets Pa|
|00005370| 74 68 20 74 6f 20 74 68 | 65 20 43 44 2d 52 4f 4d |th to th|e CD-ROM|
|00005380| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 50 4d 20 69 | version| of PM i|
|00005390| 6e 20 74 68 65 20 56 41 | 52 20 d2 67 5f 50 61 74 |n the VA|R .g_Pat|
|000053a0| 68 54 6f 50 4d 48 44 d3 | 0d 47 6c 6f 62 61 6c 20 |hToPMHD.|.Global |
|000053b0| 67 5f 53 59 53 46 6f 6c | 64 65 72 2c 20 67 5f 50 |g_SYSFol|der, g_P|
|000053c0| 72 65 66 46 6f 6c 64 65 | 72 2c 20 67 5f 41 4d 54 |refFolde|r, g_AMT|
|000053d0| 4b 50 72 65 66 46 6f 6c | 64 65 72 2c 20 67 5f 50 |KPrefFol|der, g_P|
|000053e0| 72 65 66 46 69 6c 65 0d | 47 6c 6f 62 61 6c 20 67 |refFile.|Global g|
|000053f0| 5f 50 61 74 68 54 6f 50 | 4d 43 44 2c 20 67 5f 50 |_PathToP|MCD, g_P|
|00005400| 61 74 68 54 6f 50 4d 48 | 44 2c 20 67 5f 50 61 74 |athToPMH|D, g_Pat|
|00005410| 68 54 6f 50 72 65 66 0d | 0d 73 65 74 20 63 75 72 |hToPref.|.set cur|
|00005420| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 0d 67 65 |sor to w|atch..ge|
|00005430| 74 20 68 43 72 65 61 74 | 65 50 72 65 66 46 6f 6c |t hCreat|ePrefFol|
|00005440| 64 65 72 73 20 28 29 20 | 2d 2d 20 4d 61 6b 65 20 |ders () |-- Make |
|00005450| 73 75 72 65 20 74 68 65 | 72 65 27 73 20 61 20 50 |sure the|re's a P|
|00005460| 52 45 46 45 52 45 4e 43 | 45 53 2b 41 4d 54 4b 20 |REFERENC|ES+AMTK |
|00005470| 46 6f 6c 64 65 72 0d 70 | 75 74 20 68 53 65 61 72 |Folder.p|ut hSear|
|00005480| 63 68 46 6f 72 50 4d 20 | 28 29 20 69 6e 74 6f 20 |chForPM |() into |
|00005490| 67 5f 50 61 74 68 54 6f | 50 4d 48 44 20 2d 2d 20 |g_PathTo|PMHD -- |
|000054a0| 53 65 65 20 69 66 20 50 | 4d 20 69 73 20 6f 6e 20 |See if P|M is on |
|000054b0| 48 61 72 64 20 44 72 69 | 76 65 0d 69 66 20 67 5f |Hard Dri|ve.if g_|
|000054c0| 50 61 74 68 54 6f 50 4d | 48 44 20 69 73 20 45 4d |PathToPM|HD is EM|
|000054d0| 50 54 59 20 74 68 65 6e | 20 2d 2d 20 43 41 4e 27 |PTY then| -- CAN'|
|000054e0| 54 20 46 49 4e 44 20 50 | 4d 0d 70 75 74 20 67 5f |T FIND P|M.put g_|
|000054f0| 50 61 74 68 54 6f 50 4d | 43 44 20 69 6e 74 6f 20 |PathToPM|CD into |
|00005500| 67 5f 50 61 74 68 54 6f | 50 4d 48 44 20 2d 2d 20 |g_PathTo|PMHD -- |
|00005510| 55 73 65 20 70 61 74 68 | 20 74 6f 20 74 68 65 20 |Use path| to the |
|00005520| 43 44 2d 52 4f 4d 20 50 | 4d 0d 61 6e 73 77 65 72 |CD-ROM P|M.answer|
|00005530| 20 22 50 6c 65 61 73 65 | 20 69 6e 73 74 61 6c 6c | "Please| install|
|00005540| 20 41 6c 64 75 73 20 50 | 61 67 65 4d 61 6b 65 72 | Aldus P|ageMaker|
|00005550| 20 6f 6e 74 6f 20 79 6f | 75 72 20 68 61 72 64 20 | onto yo|ur hard |
|00005560| 64 69 73 6b 2e 20 22 c2 | 0d 26 22 52 75 6e 6e 69 |disk. ".|.&"Runni|
|00005570| 6e 67 20 50 61 67 65 4d | 61 6b 65 72 20 66 72 6f |ng PageM|aker fro|
|00005580| 6d 20 61 20 68 61 72 64 | 20 64 69 73 6b 20 69 73 |m a hard| disk is|
|00005590| 20 6d 75 63 68 20 66 61 | 73 74 65 72 20 74 68 61 | much fa|ster tha|
|000055a0| 6e 20 72 75 6e 6e 69 6e | 67 20 69 74 20 66 72 6f |n runnin|g it fro|
|000055b0| 6d 20 74 68 65 20 43 44 | 2d 52 4f 4d 2e 22 26 52 |m the CD|-ROM."&R|
|000055c0| 45 54 55 52 4e 26 52 45 | 54 55 52 4e 0d 65 6c 73 |ETURN&RE|TURN.els|
|000055d0| 65 0d 2d 2d 20 46 4f 55 | 4e 44 20 50 4d 20 6f 6e |e.-- FOU|ND PM on|
|000055e0| 20 48 44 2d 57 72 69 74 | 65 20 50 72 65 66 20 46 | HD-Writ|e Pref F|
|000055f0| 69 6c 65 0d 57 72 69 74 | 65 46 69 6c 65 20 67 5f |ile.Writ|eFile g_|
|00005600| 50 61 74 68 54 6f 50 72 | 65 66 2c 20 67 5f 50 61 |PathToPr|ef, g_Pa|
|00005610| 74 68 54 6f 50 4d 48 44 | 20 2d 2d 20 53 61 76 65 |thToPMHD| -- Save|
|00005620| 20 50 61 74 68 20 74 6f | 20 50 61 67 65 4d 61 6b | Path to| PageMak|
|00005630| 65 72 20 69 6e 20 50 72 | 65 66 20 46 6f 6c 64 65 |er in Pr|ef Folde|
|00005640| 72 0d 65 6e 64 20 69 66 | 0d 0d 65 6e 64 20 68 43 |r.end if|..end hC|
|00005650| 72 65 61 74 65 50 72 65 | 66 46 69 6c 65 0d 0d 0d |reatePre|fFile...|
|00005660| 66 75 6e 63 74 69 6f 6e | 20 68 43 72 65 61 74 65 |function| hCreate|
|00005670| 50 72 65 66 46 6f 6c 64 | 65 72 73 0d 2d 2d 20 52 |PrefFold|ers.-- R|
|00005680| 65 74 75 72 6e 73 20 46 | 41 4c 53 45 20 69 66 20 |eturns F|ALSE if |
|00005690| 45 52 52 4f 52 2c 20 65 | 6c 73 65 20 52 65 74 75 |ERROR, e|lse Retu|
|000056a0| 72 6e 73 20 54 52 55 45 | 0d 0d 47 6c 6f 62 61 6c |rns TRUE|..Global|
|000056b0| 20 67 5f 53 59 53 46 6f | 6c 64 65 72 2c 20 67 5f | g_SYSFo|lder, g_|
|000056c0| 50 72 65 66 46 6f 6c 64 | 65 72 2c 20 67 5f 41 4d |PrefFold|er, g_AM|
|000056d0| 54 4b 50 72 65 66 46 6f | 6c 64 65 72 2c 20 67 5f |TKPrefFo|lder, g_|
|000056e0| 50 72 65 66 46 69 6c 65 | 0d 0d 69 66 20 68 46 69 |PrefFile|..if hFi|
|000056f0| 6c 65 45 78 69 73 74 73 | 28 67 5f 53 59 53 46 6f |leExists|(g_SYSFo|
|00005700| 6c 64 65 72 26 67 5f 50 | 72 65 66 46 6f 6c 64 65 |lder&g_P|refFolde|
|00005710| 72 29 20 69 73 20 46 41 | 4c 53 45 20 74 68 65 6e |r) is FA|LSE then|
|00005720| 0d 43 72 65 61 74 65 46 | 6f 6c 64 65 72 20 67 5f |.CreateF|older g_|
|00005730| 53 59 53 46 6f 6c 64 65 | 72 26 67 5f 50 72 65 66 |SYSFolde|r&g_Pref|
|00005740| 46 6f 6c 64 65 72 0d 65 | 6e 64 20 69 66 0d 69 66 |Folder.e|nd if.if|
|00005750| 20 68 46 69 6c 65 45 78 | 69 73 74 73 28 67 5f 53 | hFileEx|ists(g_S|
|00005760| 59 53 46 6f 6c 64 65 72 | 26 67 5f 50 72 65 66 46 |YSFolder|&g_PrefF|
|00005770| 6f 6c 64 65 72 26 67 5f | 41 4d 54 4b 50 72 65 66 |older&g_|AMTKPref|
|00005780| 46 6f 6c 64 65 72 29 20 | 69 73 20 46 41 4c 53 45 |Folder) |is FALSE|
|00005790| 20 74 68 65 6e 0d 43 72 | 65 61 74 65 46 6f 6c 64 | then.Cr|eateFold|
|000057a0| 65 72 20 67 5f 53 59 53 | 46 6f 6c 64 65 72 26 67 |er g_SYS|Folder&g|
|000057b0| 5f 50 72 65 66 46 6f 6c | 64 65 72 26 67 5f 41 4d |_PrefFol|der&g_AM|
|000057c0| 54 4b 50 72 65 66 46 6f | 6c 64 65 72 0d 65 6e 64 |TKPrefFo|lder.end|
|000057d0| 20 69 66 0d 0d 72 65 74 | 75 72 6e 20 68 46 69 6c | if..ret|urn hFil|
|000057e0| 65 45 78 69 73 74 73 28 | 67 5f 53 59 53 46 6f 6c |eExists(|g_SYSFol|
|000057f0| 64 65 72 26 67 5f 50 72 | 65 66 46 6f 6c 64 65 72 |der&g_Pr|efFolder|
|00005800| 26 67 5f 41 4d 54 4b 50 | 72 65 66 46 6f 6c 64 65 |&g_AMTKP|refFolde|
|00005810| 72 29 20 2d 2d 20 45 58 | 49 54 20 46 75 6e 63 74 |r) -- EX|IT Funct|
|00005820| 69 6f 6e 0d 0d 65 6e 64 | 20 68 43 72 65 61 74 65 |ion..end| hCreate|
|00005830| 50 72 65 66 46 6f 6c 64 | 65 72 73 0d 0d 0d 66 75 |PrefFold|ers...fu|
|00005840| 6e 63 74 69 6f 6e 20 68 | 53 65 61 72 63 68 46 6f |nction h|SearchFo|
|00005850| 72 50 4d 0d 2d 2d 20 52 | 65 74 75 72 6e 73 20 45 |rPM.-- R|eturns E|
|00005860| 4d 50 54 59 20 69 66 20 | 50 4d 20 6e 6f 74 20 46 |MPTY if |PM not F|
|00005870| 6f 75 6e 64 20 6f 72 20 | 45 52 52 4f 52 2c 20 65 |ound or |ERROR, e|
|00005880| 6c 73 65 20 52 65 74 75 | 72 6e 73 20 50 61 74 68 |lse Retu|rns Path|
|00005890| 20 54 6f 20 50 4d 0d 0d | 47 6c 6f 62 61 6c 20 67 | To PM..|Global g|
|000058a0| 5f 53 59 53 46 6f 6c 64 | 65 72 2c 20 67 5f 50 72 |_SYSFold|er, g_Pr|
|000058b0| 65 66 46 6f 6c 64 65 72 | 2c 20 67 5f 41 4d 54 4b |efFolder|, g_AMTK|
|000058c0| 50 72 65 66 46 6f 6c 64 | 65 72 2c 20 67 5f 50 72 |PrefFold|er, g_Pr|
|000058d0| 65 66 46 69 6c 65 0d 47 | 6c 6f 62 61 6c 20 67 5f |efFile.G|lobal g_|
|000058e0| 50 61 74 68 54 6f 50 4d | 43 44 2c 20 67 5f 50 61 |PathToPM|CD, g_Pa|
|000058f0| 74 68 54 6f 50 4d 48 44 | 2c 20 67 5f 50 61 74 68 |thToPMHD|, g_Path|
|00005900| 54 6f 50 72 65 66 0d 0d | 2d 2d 20 46 69 72 73 74 |ToPref..|-- First|
|00005910| 20 6c 6f 6f 6b 20 6f 6e | 20 56 6f 6c 75 6d 65 20 | look on| Volume |
|00005920| 77 2f 53 79 73 74 65 6d | 20 46 6f 6c 64 65 72 0d |w/System| Folder.|
|00005930| 70 75 74 20 44 6f 63 43 | 72 65 61 74 6f 72 28 22 |put DocC|reator("|
|00005940| 41 4c 44 34 22 2c 67 5f | 53 59 53 46 6f 6c 64 65 |ALD4",g_|SYSFolde|
|00005950| 72 2c 54 52 55 45 29 20 | 69 6e 74 6f 20 50 61 74 |r,TRUE) |into Pat|
|00005960| 68 53 74 72 69 6e 67 0d | 69 66 20 50 61 74 68 53 |hString.|if PathS|
|00005970| 74 72 69 6e 67 20 69 73 | 20 45 4d 50 54 59 20 74 |tring is| EMPTY t|
|00005980| 68 65 6e 0d 2d 2d 20 49 | 66 20 6e 6f 20 50 61 67 |hen.-- I|f no Pag|
|00005990| 65 4d 61 6b 65 72 20 6f | 6e 20 53 79 73 74 65 6d |eMaker o|n System|
|000059a0| 20 64 69 73 6b 20 74 68 | 65 6e 20 6c 6f 6f 6b 20 | disk th|en look |
|000059b0| 6f 6e 20 6f 74 68 65 72 | 20 56 6f 6c 75 6d 65 73 |on other| Volumes|
|000059c0| 0d 70 75 74 20 76 6f 6c | 75 6d 65 4c 69 73 74 28 |.put vol|umeList(|
|000059d0| 29 20 69 6e 74 6f 20 76 | 4c 69 73 74 0d 72 65 70 |) into v|List.rep|
|000059e0| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|000059f0| 6f 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |o number| of line|
|00005a00| 73 20 6f 66 20 76 4c 69 | 73 74 0d 67 65 74 20 6c |s of vLi|st.get l|
|00005a10| 69 6e 65 20 78 20 6f 66 | 20 76 4c 69 73 74 0d 69 |ine x of| vList.i|
|00005a20| 66 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 67 5f |f it con|tains g_|
|00005a30| 53 59 53 46 6f 6c 64 65 | 72 20 74 68 65 6e 20 6e |SYSFolde|r then n|
|00005a40| 65 78 74 20 72 65 70 65 | 61 74 20 2d 2d 20 20 20 |ext repe|at -- |
|00005a50| 20 53 6b 69 70 20 53 79 | 73 74 65 6d 20 56 6f 6c | Skip Sy|stem Vol|
|00005a60| 75 6d 65 0d 69 66 20 69 | 74 20 63 6f 6e 74 61 69 |ume.if i|t contai|
|00005a70| 6e 73 20 67 5f 43 44 52 | 4f 4d 6e 61 6d 65 20 74 |ns g_CDR|OMname t|
|00005a80| 68 65 6e 20 6e 65 78 74 | 20 72 65 70 65 61 74 20 |hen next| repeat |
|00005a90| 2d 2d 20 53 6b 69 70 20 | 43 44 2d 52 4f 4d 20 56 |-- Skip |CD-ROM V|
|00005aa0| 6f 6c 75 6d 65 0d 70 75 | 74 20 44 6f 63 43 72 65 |olume.pu|t DocCre|
|00005ab0| 61 74 6f 72 28 22 41 4c | 44 34 22 2c 69 74 2c 54 |ator("AL|D4",it,T|
|00005ac0| 52 55 45 29 20 69 6e 74 | 6f 20 50 61 74 68 53 74 |RUE) int|o PathSt|
|00005ad0| 72 69 6e 67 0d 69 66 20 | 50 61 74 68 53 74 72 69 |ring.if |PathStri|
|00005ae0| 6e 67 20 69 73 20 45 4d | 50 54 59 20 74 68 65 6e |ng is EM|PTY then|
|00005af0| 20 6e 65 78 74 20 72 65 | 70 65 61 74 0d 65 6e 64 | next re|peat.end|
|00005b00| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 0d | repeat.|end if..|
|00005b10| 2d 2d 20 43 68 65 63 6b | 20 66 6f 72 20 4e 6f 20 |-- Check| for No |
|00005b20| 50 4d 0d 69 66 20 50 61 | 74 68 53 74 72 69 6e 67 |PM.if Pa|thString|
|00005b30| 20 69 73 20 45 4d 50 54 | 59 20 74 68 65 6e 0d 72 | is EMPT|Y then.r|
|00005b40| 65 74 75 72 6e 20 50 61 | 74 68 53 74 72 69 6e 67 |eturn Pa|thString|
|00005b50| 0d 65 78 69 74 20 68 53 | 65 61 72 63 68 46 6f 72 |.exit hS|earchFor|
|00005b60| 50 4d 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 20 47 |PM.end i|f..-- G|
|00005b70| 6f 74 20 50 61 74 68 20 | 2d 20 4d 61 6b 65 20 73 |ot Path |- Make s|
|00005b80| 75 72 65 20 69 74 27 73 | 20 61 20 66 69 6c 65 0d |ure it's| a file.|
|00005b90| 69 66 20 68 46 69 6c 65 | 45 78 69 73 74 73 28 50 |if hFile|Exists(P|
|00005ba0| 61 74 68 53 74 72 69 6e | 67 29 20 69 73 20 46 41 |athStrin|g) is FA|
|00005bb0| 4c 53 45 20 74 68 65 6e | 20 20 70 75 74 20 45 4d |LSE then| put EM|
|00005bc0| 50 54 59 20 69 6e 74 6f | 20 50 61 74 68 53 74 72 |PTY into| PathStr|
|00005bd0| 69 6e 67 0d 0d 72 65 74 | 75 72 6e 20 50 61 74 68 |ing..ret|urn Path|
|00005be0| 53 74 72 69 6e 67 20 2d | 2d 20 45 58 49 54 20 46 |String -|- EXIT F|
|00005bf0| 75 6e 63 74 69 6f 6e 0d | 65 6e 64 20 68 53 65 61 |unction.|end hSea|
|00005c00| 72 63 68 46 6f 72 50 4d | 0d 0d 0d 6f 6e 20 64 6f |rchForPM|...on do|
|00005c10| 53 65 74 50 4d 50 61 74 | 68 20 2d 2d 20 4c 65 74 |SetPMPat|h -- Let|
|00005c20| 20 75 73 65 72 20 66 69 | 6e 64 20 50 61 67 65 4d | user fi|nd PageM|
|00005c30| 61 6b 65 72 20 6f 6e 20 | 48 61 72 64 20 44 72 69 |aker on |Hard Dri|
|00005c40| 76 65 0d 2d 2d 20 52 65 | 74 75 72 6e 73 20 4e 6f |ve.-- Re|turns No|
|00005c50| 74 68 69 6e 67 2e 0d 2d | 2d 20 45 69 74 68 65 72 |thing..-|- Either|
|00005c60| 20 66 69 6e 64 73 20 50 | 61 74 68 20 74 6f 20 50 | finds P|ath to P|
|00005c70| 4d 20 6f 6e 20 48 44 20 | 76 69 61 20 44 69 61 6c |M on HD |via Dial|
|00005c80| 6f 67 20 42 6f 78 20 41 | 4e 44 20 6d 61 6b 65 73 |og Box A|ND makes|
|00005c90| 20 50 72 65 66 20 66 69 | 6c 65 0d 2d 2d 20 20 20 | Pref fi|le.-- |
|00005ca0| 6f 72 20 64 6f 65 73 20 | 6e 6f 74 68 69 6e 67 20 |or does |nothing |
|00005cb0| 69 66 20 43 41 4e 43 45 | 4c 20 66 72 6f 6d 20 44 |if CANCE|L from D|
|00005cc0| 69 61 6c 6f 67 20 42 6f | 78 0d 47 6c 6f 62 61 6c |ialog Bo|x.Global|
|00005cd0| 20 67 5f 53 59 53 46 6f | 6c 64 65 72 2c 20 67 5f | g_SYSFo|lder, g_|
|00005ce0| 50 72 65 66 46 6f 6c 64 | 65 72 2c 20 67 5f 41 4d |PrefFold|er, g_AM|
|00005cf0| 54 4b 50 72 65 66 46 6f | 6c 64 65 72 2c 20 67 5f |TKPrefFo|lder, g_|
|00005d00| 50 72 65 66 46 69 6c 65 | 0d 47 6c 6f 62 61 6c 20 |PrefFile|.Global |
|00005d10| 67 5f 50 61 74 68 54 6f | 50 4d 43 44 2c 20 67 5f |g_PathTo|PMCD, g_|
|00005d20| 50 61 74 68 54 6f 50 4d | 48 44 2c 20 67 5f 50 61 |PathToPM|HD, g_Pa|
|00005d30| 74 68 54 6f 50 72 65 66 | 0d 0d 68 43 6c 6f 73 65 |thToPref|..hClose|
|00005d40| 57 69 6e 64 6f 77 20 2d | 2d 20 43 6c 6f 73 65 20 |Window -|- Close |
|00005d50| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 73 0d 0d 61 |other wi|ndows..a|
|00005d60| 6e 73 77 65 72 20 22 55 | 73 65 20 74 68 69 73 20 |nswer "U|se this |
|00005d70| 66 65 61 74 75 72 65 20 | 6f 6e 6c 79 20 69 66 20 |feature |only if |
|00005d80| 79 6f 75 20 61 72 65 20 | 68 61 76 69 6e 67 20 70 |you are |having p|
|00005d90| 72 6f 62 6c 65 6d 73 20 | 6c 61 75 6e 63 68 69 6e |roblems |launchin|
|00005da0| 67 20 50 61 67 65 4d 61 | 6b 65 72 20 77 68 65 6e |g PageMa|ker when|
|00005db0| 20 79 6f 75 20 6f 70 65 | 6e 20 61 20 4d 61 72 6b | you ope|n a Mark|
|00005dc0| 65 74 20 54 65 6d 70 6c | 61 74 65 2e 22 c2 0d 26 |et Templ|ate."..&|
|00005dd0| 20 22 20 49 66 20 79 6f | 75 20 61 72 65 20 68 61 | " If yo|u are ha|
|00005de0| 76 69 6e 67 20 6e 6f 20 | 70 72 6f 62 6c 65 6d 73 |ving no |problems|
|00005df0| 20 74 68 65 6e 20 70 6c | 65 61 73 65 20 63 6c 69 | then pl|ease cli|
|00005e00| 63 6b 20 74 68 65 20 43 | 61 6e 63 65 6c 20 42 75 |ck the C|ancel Bu|
|00005e10| 74 74 6f 6e 2e 22 c2 0d | 26 20 52 45 54 55 52 4e |tton."..|& RETURN|
|00005e20| 20 26 20 52 45 54 55 52 | 4e 20 77 69 74 68 20 22 | & RETUR|N with "|
|00005e30| 4f 4b 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 0d |OK" or "|Cancel".|
|00005e40| 69 66 20 69 74 20 3d 20 | 22 43 61 6e 63 65 6c 22 |if it = |"Cancel"|
|00005e50| 20 74 68 65 6e 20 65 78 | 69 74 20 64 6f 53 65 74 | then ex|it doSet|
|00005e60| 50 4d 50 61 74 68 0d 0d | 2d 2d 20 20 20 20 20 20 |PMPath..|-- |
|00005e70| 20 20 20 20 20 20 20 20 | 20 20 46 69 6e 64 20 50 | | Find P|
|00005e80| 61 67 65 4d 61 6b 65 72 | 20 41 70 70 6c 69 63 61 |ageMaker| Applica|
|00005e90| 74 69 6f 6e 0d 61 6e 73 | 77 65 72 20 66 69 6c 65 |tion.ans|wer file|
|00005ea0| 20 22 46 69 6e 64 20 50 | 61 67 65 4d 61 6b 65 72 | "Find P|ageMaker|
|00005eb0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 22 20 6f 66 | Applica|tion" of|
|00005ec0| 20 74 79 70 65 20 22 41 | 50 50 4c 22 0d 69 66 20 | type "A|PPL".if |
|00005ed0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00005ee0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |t empty |then exi|
|00005ef0| 74 20 64 6f 53 65 74 50 | 4d 50 61 74 68 20 2d 2d |t doSetP|MPath --|
|00005f00| 20 47 6f 74 20 43 41 4e | 43 45 4c 20 2d 20 44 6f | Got CAN|CEL - Do|
|00005f10| 20 4e 6f 74 68 69 6e 67 | 0d 70 75 74 20 69 74 20 | Nothing|.put it |
|00005f20| 69 6e 74 6f 20 67 5f 50 | 61 74 68 54 6f 50 4d 48 |into g_P|athToPMH|
|00005f30| 44 20 2d 2d 20 4e 65 77 | 20 50 61 74 68 20 74 6f |D -- New| Path to|
|00005f40| 20 50 61 67 65 4d 61 6b | 65 72 0d 0d 2d 2d 20 46 | PageMak|er..-- F|
|00005f50| 4f 55 4e 44 20 50 4d 20 | 6f 6e 20 48 44 2d 57 72 |OUND PM |on HD-Wr|
|00005f60| 69 74 65 20 50 72 65 66 | 20 46 69 6c 65 0d 57 72 |ite Pref| File.Wr|
|00005f70| 69 74 65 46 69 6c 65 20 | 67 5f 50 61 74 68 54 6f |iteFile |g_PathTo|
|00005f80| 50 72 65 66 2c 20 67 5f | 50 61 74 68 54 6f 50 4d |Pref, g_|PathToPM|
|00005f90| 48 44 20 2d 2d 20 53 61 | 76 65 20 50 61 74 68 20 |HD -- Sa|ve Path |
|00005fa0| 74 6f 20 50 61 67 65 4d | 61 6b 65 72 20 69 6e 20 |to PageM|aker in |
|00005fb0| 50 72 65 66 20 46 6f 6c | 64 65 72 0d 0d 65 6e 64 |Pref Fol|der..end|
|00005fc0| 20 64 6f 53 65 74 50 4d | 50 61 74 68 0d 0d 0d b0 | doSetPM|Path....|
|00005fd0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005fe0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005ff0| b0 b0 b0 b0 b0 b0 0d 0d | 0d 0d 46 75 6e 63 74 69 |........|..Functi|
|00006000| 6f 6e 20 68 53 65 6e 64 | 4d 65 73 73 61 67 65 54 |on hSend|MessageT|
|00006010| 6f 50 4d 20 50 4d 6d 73 | 67 0d 47 6c 6f 62 61 6c |oPM PMms|g.Global|
|00006020| 20 67 5f 5f 70 6d 4c 69 | 6e 6b 41 64 72 0d 73 65 | g__pmLi|nkAdr.se|
|00006030| 6e 64 20 50 4d 6d 73 67 | 20 26 20 52 45 54 55 52 |nd PMmsg| & RETUR|
|00006040| 4e 20 74 6f 20 70 72 6f | 67 72 61 6d 20 67 5f 5f |N to pro|gram g__|
|00006050| 70 6d 4c 69 6e 6b 41 64 | 72 20 2d 2d 20 50 75 62 |pmLinkAd|r -- Pub|
|00006060| 6c 69 63 61 74 69 6f 6e | 20 4e 61 6d 65 0d 70 75 |lication| Name.pu|
|00006070| 74 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 6e 74 |t the re|sult int|
|00006080| 6f 20 74 6d 70 0d 52 65 | 74 75 72 6e 20 28 74 6d |o tmp.Re|turn (tm|
|00006090| 70 29 0d 65 6e 64 20 68 | 53 65 6e 64 4d 65 73 73 |p).end h|SendMess|
|000060a0| 61 67 65 54 6f 50 4d 0d | 0d 0d 6f 6e 20 68 53 77 |ageToPM.|..on hSw|
|000060b0| 69 74 63 68 54 6f 41 70 | 70 20 61 70 70 4e 61 6d |itchToAp|p appNam|
|000060c0| 65 0d 70 75 74 20 6d 65 | 6e 75 20 22 41 70 70 6c |e.put me|nu "Appl|
|000060d0| 69 63 61 74 69 6f 6e 22 | 20 69 6e 74 6f 20 74 6d |ication"| into tm|
|000060e0| 70 0d 69 66 20 61 70 70 | 4e 61 6d 65 20 69 73 20 |p.if app|Name is |
|000060f0| 4e 4f 54 20 69 6e 20 74 | 6d 70 20 74 68 65 6e 0d |NOT in t|mp then.|
|00006100| 2d 2d 20 62 65 65 70 0d | 45 58 49 54 20 68 53 77 |-- beep.|EXIT hSw|
|00006110| 69 74 63 68 54 6f 41 70 | 70 0d 65 6e 64 20 69 66 |itchToAp|p.end if|
|00006120| 0d 70 75 74 20 45 4d 50 | 54 59 20 69 6e 74 6f 20 |.put EMP|TY into |
|00006130| 6d 65 6e 75 4c 69 6e 65 | 0d 70 75 74 20 6e 75 6d |menuLine|.put num|
|00006140| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|00006150| 74 6d 70 20 69 6e 74 6f | 20 74 43 6e 74 0d 72 65 |tmp into| tCnt.re|
|00006160| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 74 63 |peat wit|h x = tc|
|00006170| 6e 74 20 64 6f 77 6e 20 | 74 6f 20 31 0d 67 65 74 |nt down |to 1.get|
|00006180| 20 6c 69 6e 65 20 78 20 | 6f 66 20 74 6d 70 0d 69 | line x |of tmp.i|
|00006190| 66 20 69 74 20 63 6f 6e | 74 61 69 6e 73 20 61 70 |f it con|tains ap|
|000061a0| 70 4e 61 6d 65 20 74 68 | 65 6e 0d 70 75 74 20 20 |pName th|en.put |
|000061b0| 78 20 69 6e 74 6f 20 6d | 65 6e 75 4c 69 6e 65 0d |x into m|enuLine.|
|000061c0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|000061d0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|000061e0| 20 6d 65 6e 75 4c 69 6e | 65 20 69 73 20 4e 4f 54 | menuLin|e is NOT|
|000061f0| 20 45 4d 50 54 59 20 74 | 68 65 6e 0d 64 6f 6d 65 | EMPTY t|hen.dome|
|00006200| 6e 75 20 6d 65 6e 75 69 | 74 65 6d 20 6d 65 6e 75 |nu menui|tem menu|
|00006210| 4c 69 6e 65 20 6f 66 20 | 6d 65 6e 75 20 22 41 70 |Line of |menu "Ap|
|00006220| 70 6c 69 63 61 74 69 6f | 6e 22 0d 65 6e 64 20 69 |plicatio|n".end i|
|00006230| 66 0d 65 6e 64 20 68 53 | 77 69 74 63 68 54 6f 41 |f.end hS|witchToA|
|00006240| 70 70 0d 0d 0d 6f 6e 20 | 68 53 65 74 75 70 50 4d |pp...on |hSetupPM|
|00006250| 61 64 72 0d 47 6c 6f 62 | 61 6c 20 67 5f 5f 70 6d |adr.Glob|al g__pm|
|00006260| 4c 69 6e 6b 41 64 72 0d | 47 6c 6f 62 61 6c 20 67 |LinkAdr.|Global g|
|00006270| 5f 50 61 74 68 54 6f 50 | 4d 43 44 2c 20 67 5f 50 |_PathToP|MCD, g_P|
|00006280| 61 74 68 54 6f 50 4d 48 | 44 2c 20 67 5f 50 61 74 |athToPMH|D, g_Pat|
|00006290| 68 54 6f 50 72 65 66 0d | 0d 70 75 74 20 67 65 74 |hToPref.|.put get|
|000062a0| 73 65 74 75 70 28 29 20 | 69 6e 74 6f 20 74 6d 70 |setup() |into tmp|
|000062b0| 20 2d 2d 20 31 29 20 55 | 73 65 72 20 4e 61 6d 65 | -- 1) U|ser Name|
|000062c0| 2c 20 32 29 20 4d 61 63 | 20 4e 61 6d 65 2c 20 33 |, 2) Mac| Name, 3|
|000062d0| 29 20 50 72 69 6e 74 65 | 72 20 4e 61 6d 65 0d 70 |) Printe|r Name.p|
|000062e0| 75 74 20 6c 69 6e 65 20 | 32 20 6f 66 20 74 6d 70 |ut line |2 of tmp|
|000062f0| 20 69 6e 74 6f 20 6d 61 | 63 4e 61 6d 65 0d 73 65 | into ma|cName.se|
|00006300| 74 20 74 68 65 20 69 74 | 65 6d 44 65 6c 69 6d 69 |t the it|emDelimi|
|00006310| 74 65 72 20 74 6f 20 22 | 3a 22 0d 67 65 74 20 67 |ter to "|:".get g|
|00006320| 5f 50 61 74 68 54 6f 50 | 4d 48 44 0d 70 75 74 20 |_PathToP|MHD.put |
|00006330| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 69 74 20 |last ite|m of it |
|00006340| 69 6e 74 6f 20 70 6d 4e | 61 6d 65 0d 70 75 74 20 |into pmN|ame.put |
|00006350| 22 2a 3a 22 20 26 20 6d | 61 63 4e 61 6d 65 20 26 |"*:" & m|acName &|
|00006360| 22 3a 22 26 20 70 6d 4e | 61 6d 65 20 69 6e 74 6f |":"& pmN|ame into|
|00006370| 20 67 5f 5f 70 6d 4c 69 | 6e 6b 41 64 72 0d 65 6e | g__pmLi|nkAdr.en|
|00006380| 64 20 68 53 65 74 75 70 | 50 4d 61 64 72 0d 0d 0d |d hSetup|PMadr...|
|00006390| 0d 0d 0d 0d d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|000063a0| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|000063b0| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|000063c0| d7 d7 d7 d7 d7 d7 d7 d7 | 0d 2d 2d 20 20 20 20 20 |........|.-- |
|000063d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063e0| 20 20 20 20 20 47 45 4e | 45 52 41 4c 20 50 55 52 | GEN|ERAL PUR|
|000063f0| 50 4f 53 45 20 53 55 42 | 52 4f 55 54 49 4e 45 53 |POSE SUB|ROUTINES|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.